Bug 71691

Summary: Defaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build
Product: fontconfig Reporter: Jehan <jehan>
Component: confAssignee: fontconfig-bugs
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: minor    
Priority: medium CC: akira, drawoc
Version: unspecified   
Hardware: All   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Defaulting to LOCAL_APPDATA_FONTCONFIG_CACHE

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

Hi,

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.