Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807070 - dev-python/weasyprint-53.0 doesn’t support woff fonts
Summary: dev-python/weasyprint-53.0 doesn’t support woff fonts
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-07 23:30 UTC by Guillaume Ayoub
Modified: 2021-08-12 17:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Ayoub 2021-08-07 23:30:30 UTC
The WeasyPrint Python package relies on the woff options provided by fonttools (see https://github.com/Kozea/WeasyPrint/blob/master/pyproject.toml#L22). That’s not the case of dev-python/weasyprint-53.0, that depends only on dev-python/fonttools without explicit woff support.

dev-python/fonttools actually has a "test" use flag installing the dependencies required for woff support. I don’t know if it’s possible to add a "woff" use flag to dev-python/fonttools with the same dependencies as "test", and make dev-python/weasyprint require this use flag.

This fix is not urgent at all. WeasyPrint should work fine without fontools’ woff support, even if it’s not officially tested and supported.

Reproducible: Always