[Fontconfig-bugs] [Bug 101270] please do not register WOFF(2) fonts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 14 10:05:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101270

--- Comment #6 from Fabian Greffrath <fabian+debian at greffrath.com> ---
(In reply to Akira TAGOH from comment #4)
> Looking at the attached config, is WOFF fonts supposed to be put under
> /usr/share/fonts/woff? is it documented somewhere such as FHS? if it is the
> distro-specific rule, it should goes there.

It's a misconception. On the one hand, fonts are supposed to be installed into
/usr/share/fonts; on the other hand, fonts in WOFF format are not supposed to
get registered by fontconfig or in fact any other application at all.

Please consider the config snippet as a mere example. It might make sense to
rely on the file name extension and match the reject against
<glob>*.woff*</glob> here.

Or will <glob>*.[wW][oO][fF][fF]*</glob> work?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170614/2819fdce/attachment.html>


More information about the Fontconfig-bugs mailing list