[Fontconfig] no `stable' cache file in `~/.fonts'

Khaled Hosny khaledhosny at eglug.org
Mon Aug 29 19:11:43 UTC 2016

On Mon, Aug 29, 2016 at 11:46:57AM -0700, Behdad Esfahbod wrote:
> On Sun, Aug 28, 2016 at 9:07 PM, Werner LEMBERG <wl at gnu.org> wrote:
> >
> >> In that version, we've tried to prevent the race on updating caches
> >> by re-scanning a directory after updating a cache once. which isn't
> >> being done on the latest anymore.
> >
> > OK, thanks.  Will update.
> >
> > [I noticed the issue mainly because I have `NotoCJKSans.ttc' (file
> >  size 112MByte) in the `~/.fonts' directory, and it takes a loong time
> >  until the many different faces in the TTC are scanned.]
> Speaking of which, it was 5x faster with non-Adobe CFF code in
> FreeType.  Maybe we should use FT_Property_Set to enable faster one if
> it's available.

Or may be it is time to stop FontConfig from rasterising glyphs just to
second guess fonts. I have been adding dummy glyphs to my fonts for
years to prevent FontConfig from rejecting perfectly valid fonts,
needlessly increasing file size and production complexity.


More information about the Fontconfig mailing list