Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 807070

Summary: dev-python/weasyprint-53.0 doesn’t support woff fonts
Product: Gentoo Linux Reporter: Guillaume Ayoub <guillaume>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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