Am 09.01.2012 um 10:25 schrieb Jean-Marc Lasgouttes: > Le 08/01/2012 21:51, Abdelrazak Younes a écrit : >>>> It is needed for RTL text and for MacOS correct font rendering. >>> It certainly _was_ needed. Whether it still is I don't know. What >>> happens when someone puts some arabic text in a simple QTextEdit >>> on Mac? Are you saying that does not "just work"? >> >> Yes. But this is not specific to Mac. This is because LyX insists on >> having its own RTL drawing algorithm; so we have to draw char by char. > > The Mac part is only needed because Qt?Mac respects ligatures. The day this > happens on other architectures (why isn't it the case yet?), we will be in > the same trouble with our paint-strings-but-compute-on-chars approach.
AFAIK it's already on Linux too. I think it depends on the fonts. If the hints are present Qt respects them. See the mail from Pavel below. Stephan Am 22.11.2010 um 01:50 schrieb Pavel Sanda: > hi, > > by accident i successfully reproduced quite horrible problem of unsynced > visual > cursor position and the actual position of typing, so this is no more MacOS > thing only. the key point was to switch to dejavu fonts in linux. > > http://www.lyx.org/trac/ticket/6920 > qt 4.6.3 here. > pavel