From: Benjamin R. <Ben...@ep...> - 2003-10-28 17:21:43
|
Hi Jim, Jim Ingham <ji...@ap...> writes: > BTW, one area we know the ATSUI patch falls down is when you have > text with ligatures (almost any nice looking font) in the text > widget and you move the insertion cursor through the text, you will > see it jerk around as you move the cursor through the ligature. Did you verify the bugs you had with the latest version? The last bug you mentioned here was fixed with some additional flags to disable more font features. It wouldn't surprise me if there were more problems, but I haven't seen them yet. Ben...@ep... wrote: > > There also is the issue of the general assumption of Tk that > > width('A') + width('B') == width('AB'), which ATSUI doesn't share > > (think kerning and ligatures). There is a kludge to handle this > > in tkMacOSXUnicodeFont.c, and I am also working on code to handle > > this in the higher, generic layers, but until now I am not > > convinced that what I got there is so much better. > > Dunno what the current state of things are, but if you have your > hands in the text drawing code, you might be able to help Benny get > his stuff worked out? Yes, I should look at that again. I tried to adapt the generic levels of code directly "above" the platform specific functions, but that was still pretty kludgy. It seemed not so easy to change even higher layers, because at that level much more code depends on the current structure. benny |