22#ifndef GRAPHICS_FONTS_TTF_H
23#define GRAPHICS_FONTS_TTF_H
25#include "common/scummsys.h"
29#include "common/array.h"
30#include "common/stream.h"
31#include "common/ustr.h"
60 kTTFRenderModeMonochrome,
66 kTTFRenderModeNormalWithGridFitting
79 kTTFSizeModeCharacter,
107Font *loadTTFFont(
Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse,
int size, TTFSizeMode sizeMode = kTTFSizeModeCharacter, uint xdpi = 0, uint ydpi = 0, TTFRenderMode renderMode = kTTFRenderModeLight,
const uint32 *mapping = 0,
bool stemDarkening =
false);
126Font *loadTTFFontFromArchive(
const Common::String &filename,
int size, TTFSizeMode sizeMode = kTTFSizeModeCharacter, uint xdpi = 0, uint ydpi = 0, TTFRenderMode renderMode = kTTFRenderModeLight,
const uint32 *mapping = 0);
149Font *findTTFace(
const Common::Array<Common::Path> &files,
const Common::U32String &faceName,
bool bold,
bool italic,
int size, uint xdpi = 0, uint ydpi = 0,TTFRenderMode renderMode = kTTFRenderModeLight,
const uint32 *mapping = 0);
Definition: algorithm.h:29
Definition: formatinfo.h:28
Path
Definition: game.h:76