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
73 kTTFSizeModeCharacter,
101 Font *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);
120 Font *loadTTFFontFromArchive(
const Common::String &filename,
int size, TTFSizeMode sizeMode = kTTFSizeModeCharacter, uint xdpi = 0, uint ydpi = 0, TTFRenderMode renderMode = kTTFRenderModeLight,
const uint32 *mapping = 0);
143 Font *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);
Path
Definition: game.h:75
Definition: algorithm.h:29
Definition: formatinfo.h:28