diff options
author | Eugene Sandulenko | 2016-10-07 10:24:50 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-07 10:49:17 +0200 |
commit | ee476e9cf0ee1dec3161ef3bed87be12ca9786f1 (patch) | |
tree | 6cb9f4a894f7f116b0b65f5184084f72d6630491 /graphics/fonts/bdf.h | |
parent | 6a1e5bd43a2a3b12b820a9b82c48761cb54a620a (diff) | |
download | scummvm-rg350-ee476e9cf0ee1dec3161ef3bed87be12ca9786f1.tar.gz scummvm-rg350-ee476e9cf0ee1dec3161ef3bed87be12ca9786f1.tar.bz2 scummvm-rg350-ee476e9cf0ee1dec3161ef3bed87be12ca9786f1.zip |
GRAPHICS: Parse slant from BDF fonts
Diffstat (limited to 'graphics/fonts/bdf.h')
-rw-r--r-- | graphics/fonts/bdf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/fonts/bdf.h b/graphics/fonts/bdf.h index bc1ced9599..9a3b20e14c 100644 --- a/graphics/fonts/bdf.h +++ b/graphics/fonts/bdf.h @@ -41,6 +41,7 @@ struct BdfBoundingBox { struct BdfFontData { const char *familyName; + const char *slant; int maxAdvance; int height; @@ -69,6 +70,7 @@ public: virtual void drawChar(Surface *dst, uint32 chr, int x, int y, uint32 color) const; const char *getFamilyName() const; + const char *getFontSlant() const; int getFontSize() const; static BdfFont *loadFont(Common::SeekableReadStream &stream); |