[Fontconfig] WINDOWSTEMPDIR_FONTCONFIG_CACHE

Raimund Steger rs at mytum.de
Wed Apr 3 15:40:38 PDT 2013


LRN wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What was the rationale behind putting fontconfig cache into temporary
> directory?

WINDOWSTEMPDIR_FONTCONFIG_CACHE is only one possible value (aside from a 
real path) for <cachedir> elements on Win32. Current fontconfig also 
supports LOCAL_APPDATA_FONTCONFIG_CACHE; see 
http://thread.gmane.org/gmane.comp.fonts.fontconfig/3937.

> On *nix it resides in /var/cache/fontconfig.

On Unix, users have cache directories too, as they can use their own 
fonts and/or fontconfig versions.

System-wide fontconfig installations are not really widely used on 
Windows although a sysadmin could certainly provide such a thing (maybe 
using a custom sysconfdir or fontconfig's feature to load its 
configuration from location relative to the DLL on Windows).

> no decent package manager, and i don't think that applications keep
> track of fonts. Which means that it's important to not to lose fontcache.

fontconfig updates the cache automatically, applications should not need 
to do anything.


Raimund

-- 
Worringer Str 31 Duesseldorf 40211 DE  home: <rs at mytum.de>
+49-179-2981632 icq 16845346           work: <rs at interface-ag.de>


More information about the Fontconfig mailing list