Mac Developer Library

Developer

Core Text Reference Collection

Core Text Reference Collection

Other Reference  

This collection of documents is the API reference for the Core Text framework. Core Text provides a modern, low-level programming interface for laying out text and handling fonts. The Core Text layout engine is designed for high performance, ease of use, and close integration with Core Foundation. The text layout API provides high-quality typesetting, including character-to-glyph conversion, with ligatures, kerning, and so on. The complementary Core Text font technology provides automatic font substitution (cascading), font descriptors and collections, easy access to font metrics and glyph data, and many other features.

Multicore Considerations: All individual functions in Core Text are thread safe. Font objects (CTFont, CTFontDescriptor, and associated objects) can be used simultaneously by multiple operations, work queues, or threads. However, the layout objects (CTTypesetter, CTFramesetter, CTRun, CTLine, CTFrame, and associated objects) should be used in a single operation, work queue, or thread.

Other Reference

CTFont Reference

CTFontCollection Reference

CTFontDescriptor Reference

CTFrame Reference

CTFramesetter Reference

CTGlyphInfo Reference

CTLine Reference

CTParagraphStyle Reference

CTRun Reference

CTTextTab Reference

CTTypesetter Reference

Core Text Font Manager Reference

Core Text String Attributes Reference

Core Text Utilities Reference