Am Sonntag, 26. November 2006 16:42 schrieb Abdelrazak Younes: > Well, it is not related to painting on screen, that's for sure. But it > might be related to font metrics calculation which is system dependent. > We are caching font width for normal text for example but for math > there's maybe more things that we need to cache. This is more related to > drawing than to painting in LyX terminology. > > We are using font metrics to compute things like paragraph breaking in > rows and the resulting row heights. In the case of math, these info can > be pretty complicated to compute when you have fractions and integrals...
I doubt that computing the metrics of fractions or any math construct that is not displayed by a font symbol is the problem, because this is done in platform independant code in src/mathed/. AFAIK the metrics cache is used for the symbol fonts too, so I also doubt that symbol font metrics are the problem. If for some reason the calculation of symbol font metrics would be terribly slow on one platform then this should only be visible on startup, and not anymore when the metrics cache is used. What we need is a profile, but I currently don't have the time to look into this. Georg