25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/rect.h" 28 #include "access/asurface.h" 29 #include "access/data.h" 50 Font(byte firstCharIndex);
52 static byte _fontColors[4];
62 int charWidth(
char c)
const;
115 void load(
const int *fontIndex,
const byte *fontData);
121 load(fontIndex, fontData);
132 void loadFromData(
size_t count,
const byte *widths,
const int *offsets,
const byte *data);
138 MartianFont(
int height,
size_t count,
const byte *widths,
const int *offsets,
const byte *data);
159 const Font *_bitFont;
172 void load(
const Font *font1,
const Font *font2,
const Font *bitFont);
174 void addFont(
const Font *font) {
178 const Font *getFont(
int num) {
const Font * _font1
Definition: font.h:157
Definition: asurface.h:42
void push_back(const T &element)
Definition: array.h:181
AmazonFont(const int *fontIndex, const byte *fontData)
Definition: font.h:120
Common::Array< const Font * > _fonts
Definition: font.h:162
LINE_WIDTH_TYPE
Definition: font.h:81