mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
GRAPHICS: Load Mac font heights too (still unused)
This commit is contained in:
parent
2092c10d33
commit
bfb757c3c0
@ -328,10 +328,8 @@ bool MacFONTFont::loadFont(Common::SeekableReadStream &stream, MacFontFamily *fa
|
||||
}
|
||||
|
||||
if (_data._fontType & kFontTypeImageHeightTable) {
|
||||
warning("Skipping image height table");
|
||||
|
||||
for (uint16 i = 0; i < glyphCount; i++)
|
||||
stream.readUint16BE();
|
||||
_data._glyphs[i].height = stream.readUint16BE();
|
||||
}
|
||||
|
||||
free(bitmapOffsets);
|
||||
|
@ -102,12 +102,14 @@ struct MacGlyph {
|
||||
void clear() {
|
||||
bitmapOffset = 0;
|
||||
width = 0;
|
||||
height = 0;
|
||||
bitmapWidth = 0;
|
||||
kerningOffset = 0;
|
||||
}
|
||||
|
||||
uint16 bitmapOffset;
|
||||
byte width;
|
||||
uint16 height;
|
||||
uint16 bitmapWidth;
|
||||
int kerningOffset;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user