You are not logged in.

#1 2006-05-27 03:10:27

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

fontconfig must be reinstalled to use bitmap fonts

This is quite bizarre: if you install, say, artwiz-fonts, and then link 10-bitmaps.conf to yes-bitmaps.conf in /etc/fonts/conf.d, you still won't be able to use Artwiz fonts (or any bitmap fonts) next time you restart X. The only way to get the bitmap fonts working is to reinstall the fontconfig package.

I have absolutely no idea why this is the case, but I think I can safely say that it shouldn't be the case - reinstalling packages should not be required in order to change such basic settings.

Offline

#2 2006-05-27 10:25:50

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: fontconfig must be reinstalled to use bitmap fonts

Have you tried running "fc-cache" instead of reinstalling the packages?

Running this command and then a reboot (or a restart of X, may too) may have the same effect, since

fontconfig.install wrote:

  echo -n "updating font cache... "
  /sbin/ldconfig -r .
  /usr/bin/fc-cache -f
  echo "done."

I wonder why you wrote that already in the other thread and still ask here?

Offline

#3 2006-05-27 11:05:37

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

Re: fontconfig must be reinstalled to use bitmap fonts

Yes, I tried fc-cache. At first I thought it was just refreshing the font cache that did it - installing fontconfig does that - but it's not, it only works if you reinstall fontconfig.

(FWIW, you have to restart X anyway for the changes to take effect. If it takes effect after restarting the box, I don't particularly care, because you should never have to reboot in order to get changes to font configurations working. Also, remember that this behavior appeared with the latest version of fontconfig, not the previous version.)

Offline

#4 2006-05-27 12:06:40

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: fontconfig must be reinstalled to use bitmap fonts

The fontconfig install script sis more complex than just fc-cache is it not?  I wrote a script to refresh fonts when ever you installed new ones - it's about somewhere...

Offline

#5 2006-05-27 13:06:07

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

Re: fontconfig must be reinstalled to use bitmap fonts

Gullible Jones wrote:

FWIW, you have to restart X anyway for the changes to take effect.

Does

xset -fp rehash

help without restarting X? (I saw that in some font's .install file)


to live is to die

Offline

#6 2006-05-27 15:31:47

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

Re: fontconfig must be reinstalled to use bitmap fonts

Ah, that might be it judging from the xset manpage, I'll see. Still, I'll say again that this never was a problem with previous versions of fontconfig, and should not be a problem.

Offline

#7 2006-05-27 16:25:53

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: fontconfig must be reinstalled to use bitmap fonts

Erm, are you sure that the problem does not lie in the artwiz pkg?  Surely the install script for that should refresh the fonts cache whether X is running or not?

Offline

#8 2006-05-27 16:51:54

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

Re: fontconfig must be reinstalled to use bitmap fonts

What, when I change what /etc/fonts/conf.d/10-bitmaps.conf links to? I don't think the artwiz-fonts install script is supposed to run every time you start X... :?

Offline

#9 2006-05-27 17:01:01

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: fontconfig must be reinstalled to use bitmap fonts

Artwiz fonts are installed into /usr/share/fonts/artwiz-fonts/ and first you must add this path to /etc/X11/xorg.conf.

Offline

Board footer

Powered by FluxBB