font metrics updated on each program launch
g.patel at wanadoo.fr.invalid
Sun Jul 8 01:54:34 CDT 2001
On Sat, 7 Jul 2001 20:13:43 -0400, eikelan at gmx.net (Eike Lantzsch)
>Is there a new undocumented feature in ~/.wine/config?
>Should it not read "cachedmetrics.:0.0" in the first place?
Yes, it should. Nothing seems to have changed
in Wine, AFAICT.
I have seen this behaviour but it was quite a long
time ago and now I can't see it anymore, even on
the same computer where I had seen it.
At the time, I had never even read the code in
graphics/x11drv/xfont.c, so I did not know where
to look at.
What the font code is not complex : it calls an X api
listing all the X font names and calculates the checksum
of all these names. This checksum is saved at the
beginning of the cachedmetrics file.
So theoretically, restarting the font build each time either
means that the font list has changed, or that something has
prevented Wine to save correctly the cachedmetrics file.
More information about the wine-users