Announcement

Collapse
No announcement yet.

Fontconfig warning

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fontconfig warning

    I've been noticing that now, in Quantal, I'm frequently getting the following message in Synaptic's terminal window:

    Code:
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    Looking up line 9 in 50-user.conf, it's the following line:

    Code:
    <include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
    Should I just remove the offending line?
    Kubuntu Raring Ringtail x64 w/ Kde 4.10.5

    Multimedia packages for Kubuntu x64 (x264 10bit, mplayer2, Aegisub etc.)
    http://erokawaii.org/?page_id=5181

    My stuff on kde-look.org
    http://kde-look.org/usermanager/sear...ction=contents

    #2
    Just ignore the warning. After all, it is just that, a warning. It does no harm.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Fontconfig

      Fontconfig:
      - http://www.freedesktop.org/wiki/Software/fontconfig
      and
      - man fonts-conf

      The warnig & fixes: http://comments.gmane.org/gmane.comp...ontconfig/4262
      ...I'd obsolete reading $HOME/.fonts.conf in the future. I have no idea to notice the
      transition without it...

      ...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...

      Trying with the Kubuntu 12.10 beta

      At here:
      :~$ locate ~/.fonts.conf
      /home/oneline/.fonts.conf
      When starting some applications (muon) from the cli:
      :~$ muon
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
      Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
      Making a directory:
      Code:
      mkdir -p /home/oneline/.config/fontconfig/
      Moving the ~/.fonts.conf:
      Code:
      mv ~/.fonts.conf   ~/.config/fontconfig/fonts.conf
      Starting the muon again:
      :~$ muon
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

      Of course you could use the file manager to make the ~/.config/fontconfig/ and move/rename the ~/.fonts.conf -> ~/.config/fontconfig/fonts-conf .


      Last edited by OneLine; Sep 25, 2012, 08:09 AM.
      Have you tried ?

      - How to Ask a Question on the Internet and Get It Answered
      - How To Ask Questions The Smart Way

      Comment


        #4
        Ok, I've moved the .fonts.config to the new location now and removed the dot at the beginning to make it visible.
        Kubuntu Raring Ringtail x64 w/ Kde 4.10.5

        Multimedia packages for Kubuntu x64 (x264 10bit, mplayer2, Aegisub etc.)
        http://erokawaii.org/?page_id=5181

        My stuff on kde-look.org
        http://kde-look.org/usermanager/sear...ction=contents

        Comment

        Working...
        X