ATSUI vs NSTextView?
ATSUI vs NSTextView?
- Subject: ATSUI vs NSTextView?
- From: David Masters <email@hidden>
- Date: Tue, 28 Aug 2001 13:07:54 +0100
Hi!
I'm writing a Cocoa application that will require fine control over
typography (kerning, tracking, possibly text on a curve) for relatively
small amounts of text, and so far the main alternatives seem to be
either to work with ATSUI directly, or utilise NSTextView and associated
classes.
Example source code for ATSUI seems to be scarce (apart from Apple's
TypeServicesForUnicode example) - does this imply that most people
prefer not to work directly with ATSUI? From reading the documentation,
it appears that NSTextView is extremely powerful, and calls ATSUI
anyway. So, if I go with NSTextView and related classes such as
NSAttributedString instead, are there any features or functionality from
ATSUI I'll be missing out on, or any performance penalties that I might
encounter?
Any advice would be greatly appreciated!
David
David Masters, Software Imagineer
email@hidden
Web:
http://www.pyrusmalus.com Tel: +44 141 427 9649 Fax: +44 141
427 1740
P y r u s M a l u s | d e s i g n | d e v e l o p | d e l i
v e r | c o n s u l t | t r a i n | s u p p o r t |