>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>>>>> "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... Jean-Marc> I am not sure what the hack does, but here is my take on Jean-Marc> it: the metrics in our ttf fonts (and in the original pfb Jean-Marc> fonts are broken at least for wasy and cmex). In order to Jean-Marc> get symbols at the right place, we already have to fix it Jean-Marc> in some arbitrary manner (see MathSymbolInset::metrics). Jean-Marc> It appears that Qt/Mac handles these metrics in a Jean-Marc> differently broken way. Therefore, we have to apply a Jean-Marc> different arbitrary hack. Jean-Marc> I am sure there is a better fix, but I do not know it. And Jean-Marc> I do not really understand what the problem is :) Jean-Marc> I am sure everything is cristal clear for you now :) So Lars, given these crummy explanations, what shall I do? JMarc