[Pkg-fonts-devel] location of woff files

Nicolas Spalinger nicolas_spalinger at sil.org
Tue Apr 4 09:32:59 UTC 2017

On 04/04/2017 09:20 AM, Jonas Smedegaard wrote:
> Quoting Bobby de Vos (2017-04-04 00:22:11)
>> Greetings,
>> Where should .woff files be installed? For the fonts-sil-andikanewbasic
>> package, .woff files are installed to
>> /usr/share/fonts/woff/andikanewbasic
>> One user encountered a problem using XeTeX specifying the font as Andika
>> New Basic, I guess fontconfig found the .woff file before the .ttf file
>> for this font, and XeTeX could not process the .woff file. It seems
>> better to me to have the .woff file under the documentation for the
>> font. For NRSI fonts, this would work well, as NRSI ships two files
>>  1. AndikaNewBasic-webfont-example.html
>>  2. AndikaNewBasic-webfont-example.css
>> that use a .woff file in the same directory at the .html and .css files
>> to show an example of the font.
> Please put woff files below /usr/share/fonts/woff
> And please file a bugreport against packages choking on the existence of 
> woff files in a generally discoverable place: That is not specific to 
> your package.
> Similar for eot fonts.

I don't see anywhere support for these formats in fontconfig.
What did I miss? 

These formats are web-native, why are they added to the outside of a webserver DocumentRoot?

Why should we ship these fonts when GUI apps are looking when they are only useful for webapps ?

How about they are put elsewhere instead of breaking existing apps? 
AFAICT this woff inclusion is only a recent trend, isn't it? 

says /usr/share/PACKAGE/www or /usr/lib/PACKAGE

About EOT, do you realize eot is a obsolete platform-and-browser-specific format (with DRM features) only supported by older versions of IE? 


More information about the Pkg-fonts-devel mailing list