class
FontImportOptions
Inherits:
ImportOptions
Import options that allow you to control how is a font imported.
Public
Constructors
FontImportOptions
FontImportOptions() = default
Methods
staticCreate
static SPtr<FontImportOptions> Create()
Creates a new import options object that allows you to customize how are fonts imported.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Fields
FontSizes
Vector<float> FontSizes
Determines font sizes that are to be imported.
Sizes are in points.
CharIndexRanges
Vector<CharRange> CharIndexRanges
Determines character index ranges to import.
Ranges are defined as unicode numbers.
Dpi
u32 Dpi
Determines dots per inch scale that will be used when rendering the characters.
RenderMode
FontRenderMode RenderMode
Determines the render mode used for rendering the characters into a bitmap.
Bold
bool Bold
Determines whether the bold font style should be used when rendering.
Italic
bool Italic
Determines whether the italic font style should be used when rendering.