<?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>146637</bug_id>
          
          <creation_ts>2007-06-10 16:17:02 +0000</creation_ts>
          <short_desc>Newly added fonts are not available - config problem</short_desc>
          <delta_ts>2007-06-10 22:03:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kcontrol</product>
          <component>kcmfontinst</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pawel Nawrocki">pnawrocki</reporter>
          <assigned_to name="Craig Drummond">craig</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>530958</commentid>
    <comment_count>0</comment_count>
    <who name="Pawel Nawrocki">pnawrocki</who>
    <bug_when>2007-06-10 16:17:02 +0000</bug_when>
    <thetext>Version:            (using KDE 3.5.7, compiled sources)
Compiler:          Target: i486-slackware-linux
OS:                Linux (i686) release 2.6.21.1-smp

When running Font Installer KControl module, it creates a file &quot;00kde&quot; in the directory &quot;/etc/fonts/conf.d&quot;. In that file it specifies path &quot;/usr/local/share/fonts&quot; to be used by fontconfig. However, this file is never parsed, and so the newly installed fonts are not found by fc-cache and are not available for the applications.
As written in fonts-conf manual page in the &lt;include&gt; tag descritpion, only those config files in the included directory that end with &quot;.conf&quot; are parsed. Changing the filename from &quot;00kde&quot; to &quot;00kde.conf&quot; fixes the problem for me, and font installation works fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>530998</commentid>
    <comment_count>1</comment_count>
    <who name="Craig Drummond">craig</who>
    <bug_when>2007-06-10 22:03:40 +0000</bug_when>
    <thetext>SVN commit 673664 by craig:

Use 00kde.conf as root config file.
BUG:146637


 M  +2 -2      kxftconfig.cpp  


--- branches/KDE/3.5/kdebase/kcontrol/fonts/kxftconfig.cpp #673663:673664
@@ -166,7 +166,7 @@
 //
 // For system, prefer the following:
 //
-//     &lt;...&gt;/config.d/00kde   = preferred method from FontConfig &gt;= 2.3
+//     &lt;...&gt;/config.d/00kde.conf   = preferred method from FontConfig &gt;= 2.3
 //     &lt;...&gt;/local.conf
 //
 // Non-system, prefer:
@@ -177,7 +177,7 @@
 QString getConfigFile(bool system)
 {
 #if (FC_VERSION&gt;=20300)
-    static const char * constKdeRootFcFile=&quot;00kde&quot;;
+    static const char * constKdeRootFcFile=&quot;00kde.conf&quot;;
 #endif
 
     FcStrList   *list=FcConfigGetConfigFiles(FcConfigGetCurrent());
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>