Re: the cachedmetrics problem, I had the same, and tried to debug it.

In fact, I think the problem is the following :
- You have some fonts that do not 'function' correctly (you may see Wine
warnings about this)
- The font information (fontResource and fontInfo structures) are saved in the
cache file,  but  it seems that we also save in the cache information about
those buggy fonts (more precisely : we save a fontResource record, with no
fontInfo associated to it)
- Then, when starting Wine again, the cache file is seen, but it fails during
load (it fails because the load loop expects at least one fontInfo per
fontResource.)

The solutions is :
- Try to locate which font is bad (in my case, none of the TrueType fonts were
accepted by my font server, don't know why.)
- Remove this font from the fontpath.

A better solution would be to ignore buggy fonts when building the cache. But I
had no time to fix this, and may be I'm wrong about this issue.

Bye.


Michael Cardenas wrote:

> It looks like somebody put a +1 into the height of TOOLBAR_AddBitmap which
> causes one pixel of garbage to be drawn below the icons in the toolbar. My
> diffs include a correction of this.
>
> Here are our changes. I did a separate diff for each file and put them
> neatly into subdirs. Hope this is more useful.
>
> Also, has anyone seen a problem where wine always builds it's font metrics
> every time it loads? A lot of our users are having that problem. They do
> have a cachedmetrics file in their dir, and it has something in it, but it's
> not being seen. I don't understand why, yet.
>
> thanks,
> michael
>
>
>
>   ------------------------------------------------------------------------
>
>    Part 1.2    Type: application/ms-tnef
>            Encoding: base64

Reply via email to