freetypy.Face.load_char¶
-
Face.
load_char
()¶ Load a single glyph, according to its character code.
Parameters: char_code : int
The glyph’s character code, according to the current charmap used in the face.
load_flags : int, optional
A flag indicating what to load for this glyph. The
LOAD
constants can be used to control the glyph loading process (e.g., whether the outline should be scaled, whether to load bitmaps or not, whether to hint the outline, etc).Returns: glyph : Glyph
The loaded
Glyph
.Notes
See
load_glyph
for more information.