22#ifndef HOLLYWOOD_MONSTERS_FONT_H
23#define HOLLYWOOD_MONSTERS_FONT_H
25#include "common/array.h"
26#include "common/path.h"
27#include "common/types.h"
28#include "graphics/font.h"
37 bool isLoaded()
const {
return _loaded; }
39 void setShadowColor(
byte color) { _shadowColor = color; }
47 struct GlyphDescriptor {
54 byte mapCharacter(uint32 chr)
const;
55 const GlyphDescriptor *getGlyph(uint32 chr)
const;
57 void loadFallbackCharacterMap();
int getMaxCharWidth() const override
int getFontHeight() const override
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
int getCharWidth(uint32 chr) const override