24 #ifndef ZVISION_TRUETYPE_FONT_H 25 #define ZVISION_TRUETYPE_FONT_H 27 #include "graphics/font.h" 28 #include "graphics/pixelformat.h" 39 const char *freeFontBase;
40 const char *freeFontItalicName;
41 const char *liberationFontBase;
55 TTF_STYLE_BOLD = 0x01,
56 TTF_STYLE_ITALIC = 0x02,
57 TTF_STYLE_UNDERLINE = 0x04,
58 TTF_STYLE_STRIKETHROUGH = 0x08,
59 TTF_STYLE_SHARP = 0x10
70 bool loadFont(
const Common::String &fontName, int32 point, uint style);
73 int getMaxCharWidth();
74 int getCharWidth(uint16 chr);
75 int getKerningOffset(byte left, byte right);
TextAlign
Definition: font.h:48
Definition: truetype_font.h:49
Align the text to the left.
Definition: font.h:51
Definition: formatinfo.h:28
Definition: truetype_font.h:36