Behdad Esfahbod
2012-Aug-25 19:57 UTC
[Fontconfig] reading configurations from ~/.fonts.conf is deprecated.
I find the warning in the Subject line pretty annoying. Can we please remove it? behdad
Akira TAGOH
2012-Aug-27 07:10 UTC
[Fontconfig] reading configurations from ~/.fonts.conf is deprecated.
On Sun, Aug 26, 2012 at 4:57 AM, Behdad Esfahbod <behdad at behdad.org> wrote:> I find the warning in the Subject line pretty annoying. Can we please remove it?You can get rid of it after removing the attribute, deprecated="yes" from <include> in /etc/fonts/conf.d/50-user.conf though, I''d obsolete reading $HOME/.fonts.conf in the future. I have no idea to notice the transition without it. if you have any suggestion for that, that would be nice. Thanks, -- Akira TAGOH
Marius Tolzmann
2012-Aug-27 08:08 UTC
[Fontconfig] reading configurations from ~/.fonts.conf is deprecated.
Hi.. I think just moving those files may be a cleaner/intended solution than editing the default config files which are distributed with every new version of fontconfig. So just move your config from the deprecated location to the new xdg location.. mv ~/.fonts.conf.d ${XDG_CONFIG_HOME}/fontconfig/fonts.conf mv ~/.fonts.conf ${XDG_CONFIG_HOME}/fontconfig/conf.d where XDG_CONFIG_HOME is by default $HOME/.config (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) and results in: mv ~/.fonts.conf.d ~/.config/fontconfig/fonts.conf mv ~/.fonts.conf ~/.config/fontconfig/conf.d After moving the files, the warning should be gone (at least if you are using fontconfig >= 2.10) bye marius.. On 08/27/12 09:10, Akira TAGOH wrote:> On Sun, Aug 26, 2012 at 4:57 AM, Behdad Esfahbod <behdad at behdad.org> wrote: >> I find the warning in the Subject line pretty annoying. Can we please remove it? > > You can get rid of it after removing the attribute, deprecated="yes" > from <include> in /etc/fonts/conf.d/50-user.conf though, I''d obsolete > reading $HOME/.fonts.conf in the future. I have no idea to notice the > transition without it. if you have any suggestion for that, that would > be nice. > > Thanks, >-- Dipl.-Inf. Marius Tolzmann <marius.tolzmann at molgen.mpg.de> ----------------------------------.------------------------------ MPI f. molekulare Genetik | Ihnestrasse 63-73, D-14195 Berlin | ==> MarIuX GNU/Linux <=Phone: +49 (0)30 8413 1709 | ----------------------------------^------------------------------ God put me on earth to accomplish a certain number of things. Right now I am so far behind.. ..I will never die. <by calvin from calvin&hobbes ;)> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4572 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20120827/e533df00/attachment-0001.bin>
Akira TAGOH
2012-Aug-27 08:28 UTC
[Fontconfig] reading configurations from ~/.fonts.conf is deprecated.
On Mon, Aug 27, 2012 at 5:08 PM, Marius Tolzmann <tolzmann at molgen.mpg.de> wrote:> > Hi.. > > I think just moving those files may be a cleaner/intended solution than > editing the default config files which are distributed with every new > version of fontconfig.There may be some requirements to share them in the different version of fontconfig perhaps. I don''t know.> mv ~/.fonts.conf.d ${XDG_CONFIG_HOME}/fontconfig/fonts.conf > mv ~/.fonts.conf ${XDG_CONFIG_HOME}/fontconfig/conf.dYou mean: mv ~/.fonts.conf.d ${XDG_CONFIG_HOME}/fontconfig/conf.d mv ~/.fonts.conf ${XDG_CONFIG_HOME}/fontconfig/fonts.conf> mv ~/.fonts.conf.d ~/.config/fontconfig/fonts.conf > mv ~/.fonts.conf ~/.config/fontconfig/conf.dDitto. -- Akira TAGOH