Updating fontconfig cache
Hi; Just finished updating my 64-bit Cygwin; at the end I have an exit code of 2 from zp_fontconfig_cache_1Package: z/Perpetual zp_fontconfig_cache_1exit code 2 Ken Wolcott -- Problem reports: info: check error on /var/log/full Regards Marco -- Problem reports: info: Mi Marco; Here is an excerpt from /var/logs/full that might be pertinent: 2016/04/19 running: C:\cygwin64\bin\--norc --noprofile "/etc/postinstall/zp_fontconfig_cache_1.sh" Fontconfig error: "/etc/fonts/conf.d/66-google-noto-nastaliq-urdu.conf", line 35: mismatched tag /usr/share/fonts: failed to write cache /usr/share/fonts/misc: failed to write cache 2016/04/19 abnormal exit: exit code=2 Thanks, Ken Wolcott -- Problem reports: info: The 2nd may be a side effect of font-tektronix-misc upgrade.The Tektronix fonts were moved from /usr/share/fonts/misc to /usr/share/fonts/tektronix What is the content of /usr/share/fonts/misc ?Setting the $XDG_CACHE_HOME to ~/.cache/ doesn't seem to make sense (as you said it's the default anyway and the folder .cache contains a fontconfig folder also.So obviously the $XDG_CACHE_HOME setting is ignored by the package in question.Can you check if and fonts.scale content fit with the current directory status ?
thx anyway, piedro "Configuration can be done per-user through $XDG_CONFIG_HOME/fontconfig/fonts.conf, and globally with /etc/fonts/..." This article is outdated it seems, I don't have any of these files - there was no in the dubious fontconfig folder and there is no /etc/fonts/file anyway ...TAG 2013-05-22 .033393618 0200 /home/karol/mycache/fontconfig/df311e82a1a24c41a75c2c930223552e-le32d4.cache-4 2013-11-10 .669730691 0100 "export XDG_CACHE_HOME=/path/to/cachedir" ok, so I add this line to the .bashrc file? is there a way to find out which application forces the creation of this fontconfig folder? Obviously only the updating produces the cache files then ... I still don't get why they are created within my home folder as the update process of pacman uses root privileges, right? I now will set the cache to ~/.fontconfig and wait until the next update (yes I use the infinality stuff also) thx a lot, I will post if there is more in the future, for now I guess your workaround should work, piedro I was too late on that post!sry for all the questions but I don't find any comprehensive information ... In the folder ~/.cache I have another fontconfig folder with similar files.Now suddenly I found the folder again (probalby came up when I stopped running inotify :-()...
I reinstalled everything font related and while I installed the folder hasn't come back.
in the fontconfig article I don't get which case is the case for me ... (why dolphin hasn't found it when I searched for "fontconfig" is beyond me ...) So I will not reset the path as it is working already.