[Fontconfig-bugs] [Bug 71691] New: Defaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 17 01:42:24 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71691

          Priority: medium
            Bug ID: 71691
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: Defaulting <cachedir> to
                    LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build
        QA Contact: freedesktop at behdad.org
          Severity: minor
    Classification: Unclassified
                OS: Windows (All)
          Reporter: jehan at zemarmot.net
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: conf
           Product: fontconfig

Created attachment 89343
  --> https://bugs.freedesktop.org/attachment.cgi?id=89343&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20131117/9999b5c9/attachment.html>


More information about the Fontconfig-bugs mailing list