[Pkg-fonts-devel] location of woff files

Jonas Smedegaard jonas at jones.dk
Tue Apr 4 07:20:07 UTC 2017


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.


At a later stage - if woff and eot files _always_ can be automatically 
generated from truetype or opentype fonts (for no fonts¹ need special 
tools) - we should stop ship them with font source packages, but instead 
setup a trigger to generate them at install time.


 - Jonas


¹ Font subsetting is a different matter.  Even when we have proper 
tooling for subsetting, we should still provide full fonts as fallback 
for those of our users not doing subsetting for each specific text.

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20170404/cab454b3/attachment.sig>


More information about the Pkg-fonts-devel mailing list