struct FontCreateInformation

Inherits: FontInformation

Descriptor structure used for initialization of a Font.

Public

Constructors

FontCreateInformation

FontCreateInformation() = default

FontCreateInformation

FontCreateInformation(const FontInformation &other)

Fields

Name

String Name

Optional name of the font.

Used primarily for easier debugging.

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.

FontData

SPtr<MemoryDataStream> FontData

Data stream containing the .ttf/.otf font data.