On Feb 29, 2008, at 2:00 PM, Karl Goiser wrote:
The irksome thing is that rolling your own text layer means
duplicating pretty-well all of CATextLayer (maybe that's not much!)
- all for the want of some details of how the text is rendered...
If details were published, it would be pretty ea
Thanks Scott and Bill!
On 01/03/2008, at 3:42 AM, Scott Anguish wrote:
CATextLayer is largely a convenience class. It provides text
features, but very little flexibility.
You can easily subclass CALayer and create your own text layer that
uses NSFont, complex text layout , and all the fam
CATextLayer is largely a convenience class. It provides text
features, but very little flexibility.
You can easily subclass CALayer and create your own text layer that
uses NSFont, complex text layout , and all the familiar methods. Plus
you'll get more flexibility.
_
Hi Karl,
Have you tried the preferredFrameSize method? I have had success in
doing simple text sizing with this method ( by simple i mean that i've
done labels and such). It won't tell you the # of lines but it will
give you a frame size.
HTH,
-bd-
http://bill.dudney.net/roller/objc
On