Module d2d.sdl2.Font
Font
Classes
Name | Description |
Font
|
Fonts are contexts for displaying strings
Fonts describe how each character in the string looks and how they are spaced
Each font includes a collection of supported glyphs and general information
|
Enums
Name | Description |
Encoding
|
The three types of encoding TTF can use
LATIN1 is the set of ASCII characters; its glyphs are represented as chars
UTF8 is the set of "Unicode" characters; it can handle all ASCII characters as well because ASCII is a subset of Unicode
UNICODE encoding is determined by operating system; Windows handles UNICODE using UTF16, while UNIX systems use UTF8
|