You are not logged in.

#1 2006-07-21 13:26:20

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

X wont start after installing some fonts

Hi!

Recently I've encounterd the following bug twice when installing Arch:

I do fresh Arch install from CD, upgrade to the latest packages, install and configure xorg, xfce, slim.
Everything works perfect.
Then I install ttf fonts that have cyrillic chars: ttf-ms-fonts, ttf-dejavu, ttf-mph-2b-damase and font-bh-ttf.
Then X stops working. Reinstalling these packages does not help.
To fix this I must reinstall fontconfig.
I suppose that some font package brokes font cache.
Anyone encountered the same problem?


to live is to die

Offline

#2 2006-07-23 07:32:39

acetylcholine
Member
From: NY, USA
Registered: 2004-11-07
Posts: 46
Website

Re: X wont start after installing some fonts

what does your xorg.conf font section look like?

Offline

#3 2006-07-23 07:42:06

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: X wont start after installing some fonts

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

But how is this related?

When X won't start it displays something about fonts/misc and wrong reference counter - 2 instead of 1. I couldn't post exact xorg.log as I'm on another machine now.


to live is to die

Offline

#4 2006-07-23 10:39:34

misterwhite
Member
Registered: 2006-02-07
Posts: 7

Re: X wont start after installing some fonts

$fc-cache

worked for me when had a similar issue. hope that helps.

Offline

#5 2006-07-24 12:17:45

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: X wont start after installing some fonts

I don't remember if fc-cache helped me, but reinstalling fontconfig helps.
Anyway the problem is not how to fix this, but where the bug is?
I'm going to take vacation, after that I'll check those font packages.


to live is to die

Offline

#6 2006-07-24 13:29:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: X wont start after installing some fonts

Reinstalling fontconfig helps because fc-cache is run during the install process. fc-cache should also be run every time a font package is installed - I just had a look at font-bh-ttf, and it runs fc-cache. Check the install scripts for the other font packages, and post bugs/UR comments as required - after your vacation, of course. big_smile

Offline

#7 2006-07-26 08:41:22

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: X wont start after installing some fonts

Ah, that's ttf-dejavu broken.  :evil:
JGC has written comment to AUR page already. And there is bug #5028


to live is to die

Offline

#8 2006-07-26 18:17:15

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: X wont start after installing some fonts

I think part of the problem is that the fontconfig package is bug-riddled.

Offline

Board footer

Powered by FluxBB