Enumeration

CGTextEncoding

Text encodings for fonts.

Declaration

enum CGTextEncoding : Int32

Overview

For more information on setting the font in a graphics context, see selectFont(name:size:textEncoding:).

Topics

Constants

case encodingFontSpecific

The built-in encoding of the font.

case encodingMacRoman

The MacRoman encoding. MacRoman is an ASCII variant originally created for use in the Mac OS, in which characters 127 and lower are ASCII, and characters 128 and higher are non-English characters and symbols.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software