[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-fonts-devel] location of woff files



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

Attachment: signature.asc
Description: signature


Reply to: