Enumeration

CGTextEncoding

Text encodings for fonts.

Declaration

typedef enum CGTextEncoding : int32_t {
    ...
} CGTextEncoding;

Overview

For more information on setting the font in a graphics context, see CGContextSelectFont.

Topics

Constants

kCGEncodingFontSpecific

The built-in encoding of the font.

kCGEncodingMacRoman

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.