[XeTeX] where to put woff files

Bobby de Vos devos.bobby at gmail.com
Mon Aug 7 22:38:50 CEST 2017


On 2017-08-07 15:53, Mike "Pomax" Kamermans wrote:

> On 8/6/2017 6:38 PM, Bobby de Vos wrote:
>> He also thinks fontconfig/freetype should be enhanced so TrueType
>> (and I would add OpenType) fonts are prioritized before WOFF.
>
> The idea of "installing" a WOFF resource for serving by an OS font
> manager is... bad? That's not what WOFF are for, they are explicitly
> intended to NOT be system level fonts, and allow certain data to be
> omitted because the deployment is known to not be DTP and applications
> but web content through CSS instructions. Using WOFF anyway for
> something like Xe(La)TeX makes no sense, and if Debian allows WOFF to
> be installed at the OS level, that's worth notifying the team over
> because that's not a thing your OS should be doing. Maybe Jonathan as
> one of the WOFF spec authors has a more nuanced opinion here, but this
> problem sounds like it stems directly from an OS treating WOFF
> resources as something they are absolutely not, with the obvious and
> predictable result of breaking expectations about font resource handling.

I tend to agree with you Mike (and thank you for your comments). FWIW,
one of the fontconfig maintainers feels differently [1]. Debian does not
have consensus on where to place WOFF files, other than under
/usr/share/fonts where fontconfig finds them. So for my needs, I will
just not put WOFF files in Debian packages, and the issue (for the
people I support) is solved (with no work needed from the XeTeX
community). What the right thing to do, and by whom, is getting beyond me.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=101270#c10

-- 
Bobby de Vos
/devos.bobby at gmail.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20170807/c8f964d7/attachment.html>


More information about the XeTeX mailing list