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.