Bug 1953087
| Summary: | fonttools: please also provide woff functionality | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Felix Schwarz <fschwarz> |
| Component: | fonttools | Assignee: | Parag Nemade <pnemade> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fonts-bugs, pnemade, sshedmak, tagoh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-08-08 07:58:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1990762 | ||
| Bug Blocks: | |||
|
Description
Felix Schwarz
2021-04-23 20:22:47 UTC
WeasyPrint 53 was released and requires the woff functionality. As far as I can see the major blocker for the new version (in rawhide/F35) is the missing woff functionality. Would you mind enabling it or are there other blockers? Can you confirm if this scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=73152587 works for you? if yes then I will build it officially. Thank you very much for the scratch build. Unfortunately the new subpackage is not installable: nothing provides python3.10dist(zopfli) >= 0.1.4 needed by python3-fonttools+woff-4.25.2-2.fc35.noarch As far as I can see python-zopfli is not packaged for Fedora. However it seems as if this is not really a hard dependency as it is only enabled if the user adds "--with-zopfli" on the CLI (not set by default as far as I can tell). I see two options: - Patch "Lib/fontTools/subset/__init__.py" so that zopfli can not be enabled anymore. - Submit a new package python-zopfli (source: https://pypi.org/project/zopfli/) for inclusion in Fedora I'm not really keen on having yet another package but I could create the initial spec file and co-maintain it as long as fonttools[woff] requires it (and WeasyPrint continues to use fonttools which I guess will be for quite a while). I created a new RPM (locally/COPR) for python-zopfli. Together with your python-fonttools+woff the WeasyPrint test suite passes so I think your change is ok. The zopfli spec file is pretty simple, would you be interested to (co)maintain this for python-fonttools+woff? If so I could submit this spec file for review. https://download.copr.fedorainfracloud.org/results/fschwarz/weasyprint53/fedora-rawhide-x86_64/02364577-python-zopfli/python-zopfli-0.1.8-1.fc35.src.rpm I was looking into packaging zopfli module. If you want to submit that package then it will be great. I can co-maintain it. I created a review request for python-zopfli, see bug 1990762. I was able to build WeasyPrint 53 successfully for rawhide with fonttools-4.26.1-2.fc35 so we can close this issue :-) Glad to hear that and thank you again for reporting this bug and helping to fix this bug as well :) |