On Thu, Aug 29, 2002 at 12:21:00AM +0100, John Levon wrote: > > http://www.movement.uklinux.net/metrails.png > > Andre, can you look ? I suspect it's because xforms frontend has never > returned accurate values or something.
Define "accurate". The "problem" is that cursor size depends on font size, not char size. Thsi could be fixed by making all mathboxes at least a high as the current font. But then, the super/subscript positioning is still broken (too far off the baseline) and by making the boxes taller, formulas would get even taller. So you trade one cosmetic problem for another one. The proper solution, of course would be t get the super/subscript placement right... Andre' PS: > (btw, isn't all these metrics calls a /little/ slow ??) One metrics call per redraw is "necessary".. The outer world does this with fragile constructions of 'need a little refresh' and 'need a little more refresh'. -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)