Bug 71691 - Defaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build
Summary: Defaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: unspecified
Hardware: All Windows (All)
: medium minor
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
Depends on:
Reported: 2013-11-17 09:42 UTC by Jehan
Modified: 2013-12-09 08:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

Defaulting to LOCAL_APPDATA_FONTCONFIG_CACHE (698 bytes, text/plain)
2013-11-17 09:42 UTC, Jehan

Description Jehan 2013-11-17 09:42:24 UTC
Created attachment 89343 [details]


I'm a GIMP dev. We had some user telling us that the default value for fontconfig cache may not be the most appropriate on Windows (cf. https://bugzilla.gnome.org/show_bug.cgi?id=703331).

Well I'm not expert on Windows, so I can't say if LOCAL_APPDATA_FONTCONFIG_CACHE is the best fit (but saving in the non-roaming data repository sounds acceptable). On the other hand, saving in the %TEMP% directory though may indeed not be the best idea, if the TEMP directory concept is anything like on UNIX (where you should not expect the TEMP directories to have the same contents at your next reboot. It may, but on many installation, temp dirs are emptied). And apparently, according to our user, it is indeed often emptied on Windows too.

So since you already have the implementation for LOCAL_APPDATA_FONTCONFIG_CACHE, I'm proposing to simply use it as the default for Windows.
Patch attached.
Comment 1 Akira TAGOH 2013-12-09 08:52:13 UTC
merged into git. thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.