<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>304317</bug_id>
          
          <creation_ts>2012-07-31 08:06:57 +0000</creation_ts>
          <short_desc>kcm_fonts should use $XDG_CONFIG_HOME/fontconfig/fonts.conf for storage settings for fontconfig &gt; 2.10.0</short_desc>
          <delta_ts>2013-05-03 19:24:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_fonts</component>
          <version>4.8.90 (beta2)</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Funda Wang">fundawang</reporter>
          <assigned_to>rik</assigned_to>
          <cc>adaptee</cc>
    
    <cc>bugs</cc>
    
    <cc>cfeck</cc>
    
    <cc>johann.hoechtl</cc>
    
    <cc>kevin.kofler</cc>
    
    <cc>rdieter</cc>
    
    <cc>scarpino</cc>
          
          <cf_commitlink>http://commits.kde.org/kde-workspace/9650e560d8d8b807b744a09ccc02c1545490e087</cf_commitlink>
          <cf_versionfixedin>4.9.4</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1280170</commentid>
    <comment_count>0</comment_count>
    <who name="Funda Wang">fundawang</who>
    <bug_when>2012-07-31 08:06:57 +0000</bug_when>
    <thetext>Since fontconfig 2.10, ~/fonts.conf is deprecated in favour of $XDG_CONFIG_HOME/fontconfig/fonts.conf.

Please review patch here:
http://svnweb.mageia.org/packages/cauldron/kdebase4-workspace/current/SOURCES/kdebase-workspace-4.9.0-fontconfigdir.patch

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1305791</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2012-10-14 14:24:43 +0000</bug_when>
    <thetext>Funda, it is better to submit patch onto reviewboard.kde.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309738</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2012-10-26 21:26:41 +0000</bug_when>
    <thetext>It was pointed out to us by one of our users on #fedora-kde IRC that the patch does not work properly as is, because the directory isn&apos;t created anywhere. Saving the file to a nonexistent directory then fails.

Rex Dieter made a fixed version:
http://pkgs.fedoraproject.org/cgit/kde-workspace.git/tree/kde-workspace-4.9.2-fontconfigdir.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315873</commentid>
    <comment_count>3</comment_count>
    <who name="Graeme Hewson">bugs</who>
    <bug_when>2012-11-15 16:19:23 +0000</bug_when>
    <thetext>What&apos;s happening with this? I don&apos;t see it in the pending reviews.

After upgrading to Kubuntu 12.10, I got the following message from several applications:
&quot;Fontconfig warning: &quot;/etc/fonts/conf.d/50-user.conf&quot;, line 9: reading configurations from ~/.fonts.conf is deprecated.&quot;

I&apos;ve now worked around the problem by setting $XDG_CONFIG_HOME.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1316110</commentid>
    <comment_count>4</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2012-11-16 15:46:47 +0000</bug_when>
    <thetext>Git commit ffbe409529a1a5b550cf730e748393e8eb3c3a27 by Rex Dieter.
Committed on 16/11/2012 at 16:42.
Pushed by rdieter into branch &apos;KDE/4.9&apos;.

support $XDG_CONFIG_HOME/fontconfig/fonts.conf
FIXED-IN: 4.9.4

fontconfig &gt; 2.10.0 supports putting it&apos;s user config at
$XDG_CONFIG_HOME/fontconfig/fonts.conf now.

M  +14   -1    kcontrol/fonts/kxftconfig.cpp

http://commits.kde.org/kde-workspace/ffbe409529a1a5b550cf730e748393e8eb3c3a27</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1316111</commentid>
    <comment_count>5</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2012-11-16 15:47:49 +0000</bug_when>
    <thetext>Git commit 9650e560d8d8b807b744a09ccc02c1545490e087 by Rex Dieter.
Committed on 16/11/2012 at 16:42.
Pushed by rdieter into branch &apos;master&apos;.

support $XDG_CONFIG_HOME/fontconfig/fonts.conf
FIXED-IN: 4.9.4

fontconfig &gt; 2.10.0 supports putting it&apos;s user config at
$XDG_CONFIG_HOME/fontconfig/fonts.conf now.

M  +14   -1    kcontrol/fonts/kxftconfig.cpp

http://commits.kde.org/kde-workspace/9650e560d8d8b807b744a09ccc02c1545490e087</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365963</commentid>
    <comment_count>6</comment_count>
    <who name="Johann Höchtl">johann.hoechtl</who>
    <bug_when>2013-05-03 10:41:48 +0000</bug_when>
    <thetext>I am uncertain wheather to open a new bug or append to this.

Description: When I open font settings 

(Computer/System settings/Application Appearance/Fonts)

a file .config/fontconfig/fonts.conf

get&apos;s written. However, the settings written to this file cause fonts to look &quot;strange&quot;. They appear to be thiner than regular, missing some hinting.

It seems as either

* no file should be written all, as long no settings are changed, and afterwards
* the current font settings seem to be errouneusy determinded and written as configuration.

Deleting the folder .config/fontconfig

restaurates correct font appearance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365967</commentid>
    <comment_count>7</comment_count>
    <who name="Johann Höchtl">johann.hoechtl</who>
    <bug_when>2013-05-03 10:47:16 +0000</bug_when>
    <thetext>Oh my, forgot to mention:

Clean Kubuntu 13.04 install (4.10.2)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365977</commentid>
    <comment_count>8</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-05-03 12:00:52 +0000</bug_when>
    <thetext>Johann, what you see is bug 245664.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366087</commentid>
    <comment_count>9</comment_count>
    <who name="Johann Höchtl">johann.hoechtl</who>
    <bug_when>2013-05-03 19:24:34 +0000</bug_when>
    <thetext>On 2013-05-03 14:00, Christoph Feck wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=304317
&gt;
&gt; --- Comment #8 from Christoph Feck &lt;christoph@maxiom.de&gt; ---
&gt; Johann, what you see is bug 245664.
&gt;
Sorry for the noise in a closed bug ... wow, that is an old bug ...

Johann</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>