LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2007, 05:04 PM   #1
xenes
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Rep: Reputation: 0
Talking fontconfig error


I am in trouble..

After I update etch , I got an error message

fontconfig -2.4.2-1.2

Fontconfig error: Cannot load config file "/etc/fonts/conf.d/30-debconf-yes-bitmaps.conf"
Fontconfig error: Cannot load default config file

Steps which I have tried are :

dpkg-reconfigure fontconfig
dpkg-reconfigure fontconfig-config

useless

Before upgrade , I had configured the file /etc/fonts/fonts.conf

which you know is supposed to be defaulted anyway when updated or upgraded

But this file didn`t be changed after update
Now I got ugly fonts
All remain screwed

Thanks...

Last edited by xenes; 04-02-2007 at 01:54 AM.
 
Old 03-11-2007, 06:42 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Quote:
Originally Posted by xenes
Fontconfig error: Cannot load config file "/etc/fonts/conf.d/30-debconf-yes-bitmaps.conf"
Fontconfig error: Cannot load default config file
Is that file on your system? If not, make sure you don't have a broken symlink to it in /etc/fonts/conf.avail. It it is present then verifiy it is not corrupted. The file (originating from ~/conf.avail) should appear similar to:

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- conf.d/yes-bitmaps.conf -->
<fontconfig>
<!-- Accept bitmap fonts -->
 <selectfont>
  <acceptfont>
   <pattern>
     <patelt name="scalable"><bool>false</bool></patelt>
   </pattern>
  </acceptfont>
 </selectfont>
</fontconfig>
 
Old 03-11-2007, 07:45 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Delete /etc/fonts/conf.d/30-debconf-yes-bitmaps.conf if you have it

An then try
Code:
dpkg -i --force-confmiss /var/cache/apt/archives/fontconfig-configXXXX.deb
I have the same file as Xian.

Last edited by nx5000; 03-11-2007 at 07:47 PM.
 
Old 03-13-2007, 03:19 AM   #4
xenes
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you.. sorry for late
Finally I undstand the relation of between conf.avil and conf.d.
So I think I could manage the same type

But another error pops up

Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>

So I add "<cachedir>/var/cache/fontconfig</cachedir>" to /etc/fonts/local.conf and all errors go away

The conclusion I grasp is that font configuration files like any other package are not rewritten by a normal update and don`t be reinstalled at least in minor cases


Happy world....
 
Old 03-13-2007, 03:45 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Quote:
Originally Posted by xenes

The conclusion I grasp is that font configuration files like any other package are not rewritten by a normal update and don`t be reinstalled at least in minor cases
I also came to the same conclusion
Configuration files included in package are not overwritten in debian
And in my quest, also found this :
Code:
dpkg -s fontconfig-config
which for example lists the configuration files of fontconfig-config
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fontconfig error umaru Slackware 8 08-04-2006 10:49 AM
Fontconfig error; can't start X Alien_Hominid Slackware 3 01-31-2006 11:48 AM
error at make installing fontconfig 2.3.2 james_beall Linux - Newbie 1 08-12-2005 06:03 PM
Installing fontconfig 2.2.0 error tfdml37 Red Hat 5 04-07-2004 01:10 AM
fontconfig-2.2.92 build error with freetype2 behmjose Linux - Newbie 0 02-21-2004 08:59 PM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration