On Saturday 15 November 2003 09:04 am, Stefan Rijnhart wrote:
> Op zaterdag 15 november 2003 12:56, schreef Glenn Burkhardt:
> > I'm getting close to the cause of the problem - I started doing a survey
> > of several different machines, all running MDK 9.1.  Some had all the
> > fonts, some didn't.  The ones that didn't had missing entries from the
> > file /usr/X11R6/lib/X11/fonts/fonts.cache-1.  Specifically, the entries
> > for 75dpi and 100dpi were missing.
> >
> > Which utility maintains this file?
>
> Not being an X person at all myself, but have you got the following
> packages installed?
>
> XFree86-100dpi-fonts
> XFree86-75dpi-fonts
>
> Stefan.

Yes, both packages are installed:

[EMAIL PROTECTED] glenn]$ rpm -qa | grep dpi
XFree86-100dpi-fonts-4.3-8.2mdk
XFree86-75dpi-fonts-4.3-8.2mdk

I've discovered by experiment that adding the missing lines in 
/usr/X11R6/lib/X11/fonts/fonts.cache-1 for the non-scaled fonts, viz.,

"100dpi" 0 ".dir"
"75dpi" 0 ".dir"

fixes the problem.  I've been digging, and it looks like the program 
'fc-cache' (part of fontconfig) is supposed to maintain this file, and the
other  font-cache files in the font directory.  But I haven't been able to 
find any documentation on it yet.  There are notes in mailing lists that 
indicate that one can force the files to be updated with 'fc-cache -fv', but 
I'd like to find some documentation before trying it.

I think that when I applied updates to the system, one or more of the XFree86 
packages didn't force an update during post install.  There were so many 
updates to 9.1, and I've applied most all of them, especially all the XFree86 
updates.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to