From: Jim I. <ji...@ap...> - 2002-11-21 18:00:51
|
Vince, I started looking at it a couple of evenings ago. It works pretty well, but I think we have to figure out how to fix the "length(A) + length(B) != length(A+B))" problem that Benny discusses in his notes before we make it part of the main sources. There are still cases in the widget demos where scrolling through the text with the arrow keys will cause the text to shiver. For instance, if you have a ligature (like "fi") and step the cursor through it, the "i" will vanish when the cursor is between the two, and come back when you step out... I saw a bunch of other places where this was happening as well... It can be pretty distracting. Benny, First off, the code in general looks very good. Thanks for doing this! Secondly, do you have a sense of how you would change the higher level Tk layout code to fix this problem properly? If you know how to fix it there, I think we should just go ahead and propose that. This seems like the sort of problem that no matter how ingenious you are, if you don't solve it in the right place, you will never get it all the way right. And if it is wrong for us, eventually it will be wrong for somebody else as well. Also, I would eventually like to switch altogether from QuickDraw to Quartz. So instead of working around the fact that I have only started to work on this, it would be better to just extend what is there however you need to to make your text code work. I will be happy to push this back into the main MacOS X code. Jim On Thursday, November 21, 2002, at 09:35 AM, Vince Darley wrote: > I've tested Benny's ATSUI text rendering stuff with Alphatk and I must > say > it is all much nicer. All of the text (particularly the balloon help > bits) renders in a much nicer way. It also all seems to work (i.e. no > obvious bugs introduced, and Alphatk stresses these things quite > hard!). > > I'll be using it in my own sources, but if other maintainers agree I'm > happy to check it in to cvs. > > -- Vince > > <http://www.santafe.edu/~vince> > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Jim Ingham ji...@ap... Developer Tools - gdb |