ATSUI Programming Guide
PDF
Introduction
Typography Concepts
Characters, Glyphs, and Fonts
Character Encoding and Glyph Codes
Unicode
Text Storage
Text Measurements
Typestyles
Text Layout
Caret Handling
ATSUI Style and Text Layout Objects
Style Objects
Text Layout Objects
Basic Tasks: Working With Objects and Drawing Text
Guidelines for Using ATSUI
Creating Style Objects and Setting Attributes
Creating a Text Layout Object and Setting Attributes
Determining Paragraphs in a Unicode Text Block
Drawing Horizontal Text
Drawing Text Using a Quartz Context
Drawing Equations
Drawing Vertical Text
Breaking Lines
Measuring Text
Calculating Line Height
Flowing Text Around a Graphic
Setting Up a Tab Ruler
Interactive Tasks: Supporting Carets and Highlighting Text
Positioning the Caret
Highlighting Selected Text
Advanced Tasks: Substituting Fonts and Modifying Layouts
Using Font Fallback Objects
Setting a Baseline
Kerning Text
Adjusting Interglyph Positions
Retrieving Glyph Metrics
Direct-Access Tasks: Working With Glyph Data
Overriding ATSUI Layout Operations
Retrieving and Drawing Glyph Outlines
Appendix A: ATSUI Implementation of the Unicode Specification
Unsupported Control Characters
Surrogates
Character Properties
Appendix B: Font Features
All-Typographic Features Feature Type
Annotation Feature Type
Cursive Connection Feature Type
Character Alternatives Feature Type
Character Shape Feature Type
CJK Italic Roman Feature Type
CJK Roman Spacing Feature Type
Design Complexity Feature Type
Diacritical Marks Feature Type
Fractions Feature Type
Ideographic Spacing Feature Type
Kana Spacing Feature Type
Letter Case Feature Type
Ligatures Feature Type
Linguistic Rearrangement Feature Type
Mathematical Extras Feature Type
Number Case Feature Type
Number Spacing Feature Type
Ornament Sets Feature Type
Overlapping Glyphs Feature Type
Ruby Kana Feature Type
Smart Swashes Feature Type
Style Options Feature Type
Text Spacing Feature Type
Transliteration Feature Type
Typographical Extras Feature Type
Unicode Decomposition Feature Type
Vertical Position Feature Type
Vertical Substitution Feature Type
Revision History
ATSUI Glossary