From: Benjamin R. <Ben...@ep...> - 2004-11-25 19:15:10
|
Hi Jim, Jim Ingham writes: > There was a discussion of the performance problems between Daniel > Steffen & Benjamin Riefenstahl a half a year ago or so, but I can't > seem to find it now. Does anybody else remember the details? I've just found some time to work on this again. As it is, I have tried to improve two bits, the setup of the CGContext and ATSUBreakLine(). I haven't yet found a way to really speed up CGContext setup, even though it must be immemsely inefficient to do this for every call to the measuring function and than again for the drawing itself. I haven't looked at the CoreGraphics patch yet to see if that would help, but I really hope it does. I know that ATSUBreakLine() is slow, because I had a version that replaced that call and it was considerably faster. I am working on that now to recreate some code that I had before (I lost that work earlier this year). benny |