[Pkg-fonts-devel] Again: location of WOFF[2] files (Was: Update for fonts-sil-annapurna)

Jonas Smedegaard jonas at jones.dk
Mon Jun 26 06:48:03 UTC 2017


Quoting Fabian Greffrath (2017-06-26 08:33:34)
> Dear fonts team,
> 
> > 3) Install WOFF files in a reasonable directory where fontconfig will
> > not register them and provide symlinks to directories where they are
> > needed.
> 
> I think we should decide on a policy about this in the short term!
> 
> I was about to upgrade the src:fonts-hack package and fix a bug which
> requested to add the WOFF2 flavor to the fonts-hack-web package. I am
> currently stuck here, because all the other web format font files are
> installed into subdirectories of /usr/share/fonts, which we now consider
> wrong, but we don't have a definite answer for "the right" location yet
> and are hence missing a migration plan.
> 
> I don't know if this concern might become moot once fontconfig upstream
> has decided on how to proceed with font files on WOFF[2] formats, but
> given the opposition in the upstream bug report, this is probably nothing
> that we should hold our breat for.
> 
> My proposal is:
> - Install font files in web font formats into
> /usr/share/<package>/<format> instead of
> /usr/share/fonts/<format>/<package>.
> - Move files in existing packages from the latter location to the former
> in the next package revision.
> - Provide symlinks for e.g. package documentation to the new location.
> 
> Any more ideas?

Hos about adding a config snippet to fontconfig-config package with a
<rejectfont> pattern rejecting (for now only) woff and woff2 fonts?

Just an idea - I am not familiar with tuning fontconfig, only looked up 
"man fonts-conf" that such hint apparently exists.


 - Jonas

-- 
 * 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/20170626/9b553ca0/attachment.sig>


More information about the Pkg-fonts-devel mailing list