Jump To:
Leopard Technical Q&As
Mac OS X text-manipulation APIs provide basic text input and display as well as text encoding conversions, text-search capabilities, and document summarizations. These APIs also enable sophisticated typography. Developers can, for example, precisely position individual glyphs and lines of text, draw Unicode text at any angle of rotation, kern text, and activate and deactivate fonts.

Document Descriptions
On Off
Display

Sort by
Title
Sort by
Topic
Sorted by
Date
Drawing attributed strings that are both filled and stroked (HTML)
QA1531: Describes how the value of NSStrokeWidthAttributeName indicates fill, stroke, or both, in attributed strings.
Cocoa 2008-03-25
Connecting the Font Menu in Interface Builder 3 (HTML)
QA1571: How to connect and configure the Font/Format menus in Interface Builder 3.
Cocoa, Tools 2008-01-21
How do I get the hexadecimal value of an NSColor object? (HTML)
QA1576: Describes how to convert an NSColor object to its Hexadecimal value.
Cocoa 2007-12-19
How to make NSTextField accept tab, return and enter keys. (HTML)
QA1454: Describes how to make the NSTextField control accept tab, return and enter keys by using the control's dispatch delegate method.
Cocoa 2006-10-09
Disabling and Enabling an NSTextView (HTML)
QA1461: Shows how a Cocoa application can disable and enable an NSTextView.
Cocoa 2006-09-11
Losing the character code when using the control key (HTML)
QA1446: Explains why the control key transforms the character code instead of simply setting the appropriate modifier bit.
Carbon 2006-07-17
Enumerating fonts with ATS (HTML)
QA1471: Describes the different ATS font enumeration methods
Carbon 2006-04-14
Sorting Like the Finder (HTML)
QA1159: Shows how to sort strings like the Finder's list view.
Text Manipulation 2004-10-27
SetFontInfoForSelection incorrect prototype (HTML)
QA1375: Describes the incorrect prototyping of the SetFontInfoForSelection API and gives a workaround.
Carbon 2004-10-04
Converting to Precomposed Unicode (HTML) (日本語 HTML)
QA1235: Describes how to convert a string to precomposed Unicode.
Text Manipulation 2003-02-07
Improving ATSUI Text Drawing Performance (HTML)
QA1027: Talks about one way of improving ATSUI text drawing performance.
Carbon, Typography 2001-04-17
QDFlushPortBuffer (HTML) (日本語 HTML)
QD65: Describes a possible solution for window update problems under Carbon.
Carbon 2000-11-08
grayishTextOr and Mac OS 8.5 (HTML) (日本語 HTML)
Deprecated - QD59: Explains why text drawn using TextMode(grayishTextOr) is never drawn; provides a workaround.
Carbon 1998-12-07
Locating a Font's Home File (HTML) (日本語 HTML)
Deprecated - TB18: Lists the steps necessary to find the home file of a given font.
Carbon 1996-02-15