Cobbletext
0.2.0
Complex text layout and rendering engine
|
Font face properties. More...
#include <font_info.h>
Public Attributes | |
CobbletextFontID | id |
ID for this face. More... | |
const char * | family_name |
Font family name. More... | |
const char * | style_name |
Font style name. More... | |
uint16_t | units_per_em |
Number of font units per EM square. More... | |
int16_t | ascender |
Ascender in font units. More... | |
int16_t | descender |
Descencder in font units. More... | |
int16_t | height |
Distance between two baselines in font units. More... | |
int16_t | underline_position |
Position of underline in font units. More... | |
int16_t | underline_thickness |
Thickness of underline in font units. More... | |
Font face properties.
int16_t CobbletextFontInfo::ascender |
Ascender in font units.
Positive is above baseline.
int16_t CobbletextFontInfo::descender |
Descencder in font units.
Negative is below baseline.
const char* CobbletextFontInfo::family_name |
Font family name.
int16_t CobbletextFontInfo::height |
Distance between two baselines in font units.
If 0, it is not a vector, but a bitmap font.
CobbletextFontID CobbletextFontInfo::id |
ID for this face.
const char* CobbletextFontInfo::style_name |
Font style name.
int16_t CobbletextFontInfo::underline_position |
Position of underline in font units.
int16_t CobbletextFontInfo::underline_thickness |
Thickness of underline in font units.
uint16_t CobbletextFontInfo::units_per_em |
Number of font units per EM square.
If value is 0, the font is a bitmap font and not a vector font. Additionally, properties, such as ascender or height, related to this EM size is not valid.