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
Attachment:
signature.asc
Description: signature