From aef95a6964613adc6d5956ef01477880ff3e8a9a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 16 Jan 2017 22:54:16 +0100 Subject: GRAPHICS: First part for reading FOND Mac resources --- graphics/fonts/macfont.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'graphics/fonts/macfont.h') diff --git a/graphics/fonts/macfont.h b/graphics/fonts/macfont.h index 1716ea69c7..e006fee0d1 100644 --- a/graphics/fonts/macfont.h +++ b/graphics/fonts/macfont.h @@ -28,6 +28,20 @@ namespace Graphics { +struct AsscEntry { + uint16 _fontSize; + uint16 _fontStyle; + uint16 _fontID; +}; + +struct BBoxEntry { + uint16 _style; + uint16 _left; + uint16 _bottom; + uint16 _right; + uint16 _top; +}; + /** * Processing of Mac FONT/NFNT rResources */ @@ -76,6 +90,15 @@ private: uint16 _ffIntl[2]; uint16 _ffVersion; + uint16 _ffNumAssoc; + Common::Array _ffAssocEntries; + + uint16 _ffNumOffsets; + uint32 *_ffOffsets; + + uint16 _ffNumBBoxes; + Common::Array _ffBBoxes; + byte *_bitImage; struct Glyph { -- cgit v1.2.3