Module font_style_concept

Structs§

CHARACTER_SPACING_PROPERTY
Sets the character spacing in pixels.
FIXED_CHARACTER_WIDTH_PROPERTY
When set, overrides the font advance widths to make each character take a fixed amount of space specified in pixels.
FONT_HINTING_PREFERENCE_PROPERTY
Sets the hinting preference of the font.
FONT_STYLE_PROPERTY
Sets the style of the font.
FRACTIONAL_CHARACTER_WIDTH_PROPERTY
Sets whether Kanzi uses fractional or rounded character widths to lay out text. In most cases fractional widths provide the best result. However, with small font sizes, fractional widths can cause the characters to run together or have too much space, making it difficult to read.
FontStyleConcept
LINE_SPACING_PROPERTY
Sets the line spacing in multiples of the normal line height of the selected font.
SIZE_PROPERTY
Sets the size of the font in pixels.
SNAP_CHARACTER_TO_PIXEL_PROPERTY_PROPERTY
Sets whether Kanzi positions characters in 2D rendering to the nearest pixel:
WEIGHT_PROPERTY
Sets the weight of the font.

Traits§

IFontStyleConcept
FontStyleConcept is the base class for the nodes that draw text with different font styles.