Lonnie Borntreger <[EMAIL PROTECTED]> wrote:
> On Thu, 2003-01-16 at 09:34, Serge Pl�ss wrote:
>> After "playing" a little more with it I came to
>> the conclusion that it doesn't matter which fonts I move around
> Instead of rebooting, run "fc-cache -f" after each font move, before
> trying the program.
> I was not able to start any of the programs until the bad font was
> removed.
Like Serge, I found it didnt' matter which fonts I moved around.
Frederic Crozat spent some timelooking at this too. I found that
it depends on the *order* in which fc-cache is run...
If you run fc-cache in /usr/X11R6/lib/fonts so it descends recursively,
the result is useless, programs don't run.
If you make a change, e.g. moving a font or directory, things run.
E.g. I did, mv drakfonts .., to move a whole directory away.
If you then move the directory back, and do
cd drakfont
fc-cache -f -v `pwd`
then everything runs, with all the fonts yuo had before.
Furthermore, the cache file generated in the drakfont directory
is identical! Only the tiemstamp is different.
Ferderic suspects some code in pango, because that's where gedit dies.
But I think that
touch /usr/X11R6/lib/fonts/*/fonts.cache-1
will probably work around the problem.
Liam
--
Liam Quin, W3C XML Activity Lead, [EMAIL PROTECTED], http://www.w3.org/People/Quin/
Ankh - irc.sorcery.net, irc.gnome.org; http://www.valinor.sorcery.net/clients/
Author, XML Open Source Database Toolkit, Mastering XML, XML Spec Guide
Go barefoot through life, and deal gently with those you meet.