or the Cocoa text system in OS X. Core Text is the technology underlying those text systems, so they share in its speed and efficiency. When to use Core Text?
that carries meaning. Characters can correspond to a particular sound in the spoken form of the language. In every case, however, a character is an abstract concept. Computers store characters as numbers mapped by encoding tables to their corresponding characters. But this is not about drawing. “A” “a” “b” “B” … and other friends in encoding table.
represented in a display area by a recognizable shape. A character can be drawn in various forms and remain the same character. Any one of these various concrete forms of a character is called a glyph. The glyphs used to depict characters are selected by layout manager during composition and layout processing.
of characters we need to apply a font to it. A font is a series of glyphs depicting the characters in a consistent size, typeface, and typestyle. To bind font to text as always we use NSAttributedString.
same attributes and direction. СTRun is like subline of CTLine. Glyph runs can draw themselves into a graphic context, if desired, although most users have no need to interact directly with glyph runs.