[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drawing strings on a line
From: |
Matt Rice |
Subject: |
Re: Drawing strings on a line |
Date: |
Wed, 3 Jun 2009 23:03:07 -0700 |
2009/6/3 David Chisnall <theraven@sucs.org>:
>
> P.S. Prior to 10.5, this was really slow because the NSAttrubutedString
> method set up all of the text system objects and then destroyed them at the
> end. With 10.5, there is just one instance of the text system objects that
> is shared between all NSAttributedString instances, so this is very fast.
> If this isn't the case in GNUstep, it should be, because Cocoa programmers
> are likely to use this convenience method a lot more now that it's fast for
> them.
>
been a long time since i looked at it but i think this has been the
case since this patch
in 2003
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSStringDrawing.m?r2=16250&rev=16250&r1=15774&dir_pagestart=150