>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I
Lars> intend to apply the following patch to 1.3.4cvs. It is not nice,
Lars> but | I have no better solution now (the problem is that Qt/Mac
Lars> has | different problems with math font metrics than X11, and
Lars> thus needs | different hacks; and mathed does not know anything
Lars> about the current | frontend, so the code has to go to lyx_gui).
>>
Lars> | Is it OK to commit the equivalent to 1.4.0cvs?

Lars> Can you please explain what the hack does... with comments in
Lars> the code. It is not clear to me...

I am not sure what the hack does, but here is my take on it: the
metrics in our ttf fonts (and in the original pfb fonts are broken at
least for wasy and cmex). In order to get symbols at the right place,
we already have to fix it in some arbitrary manner (see
MathSymbolInset::metrics). 

It appears that Qt/Mac handles these metrics in a differently broken
way. Therefore, we have to apply a different arbitrary hack.

I am sure there is a better fix, but I do not know it. And I do not
really understand what the problem is :)

I am sure everything is cristal clear for you now :)

JMarc

Reply via email to