Am 2026-06-10 01:41, schrieb Soren Stoutner:
1. Is there a general consensus in Debian that WOFF2 and other web
fonts
should be shipped by font packages (when there is a need for them) and
that
they should be installed under /usr/share/fonts/?
In the font packages that I maintain, I generally keep the web fonts in
the same package as the TTF/OTF variants, but keep them out of the
/usr/share/fonts name space. The reason is that (1) they are duplicates
anyway and (2) fontconfig may pick them up as valid candidates for font
rendering but they will mostly fail to get rendered. (I think their
headers look like regular TTF fonts, but their actual content is
compressed).
2. If not, what is the recommended way for these fonts to be packaged?
I'd recommend as above.
Cheers,
- Fabian