30
30
class WP6FontDescriptorPacket : public WP6PrefixDataPacket
33
WP6FontDescriptorPacket(GsfInput *input, int id, guint32 dataOffset, guint32 dataSize);
33
WP6FontDescriptorPacket(WPXInputStream *input, int id, uint32_t dataOffset, uint32_t dataSize);
34
34
virtual ~WP6FontDescriptorPacket();
35
virtual void _readContents(GsfInput *input);
36
const gchar *getFontName() const { return m_fontName; }
35
virtual void _readContents(WPXInputStream *input);
36
const char *getFontName() const { return m_fontName; }
39
guint16 m_characterWidth;
40
guint16 m_ascenderHeight;
42
guint16 m_descenderHeight;
43
guint16 m_italicsAdjust;
44
guint8 m_primaryFamilyId; // family id's are supposed to be one unified element, but I split them up to ease parsing
45
guint8 m_primaryFamilyMemberId;
39
uint16_t m_characterWidth;
40
uint16_t m_ascenderHeight;
42
uint16_t m_descenderHeight;
43
uint16_t m_italicsAdjust;
44
uint8_t m_primaryFamilyId; // family id's are supposed to be one unified element, but I split them up to ease parsing
45
uint8_t m_primaryFamilyMemberId;
47
guint8 m_scriptingSystem;
48
guint8 m_primaryCharacterSet;
52
guint8 m_generalCharacteristics;
53
guint8 m_classification;
54
guint8 m_fill; // fill byte
56
guint8 m_fontSourceFileType;
58
guint16 m_fontNameLength;
47
uint8_t m_scriptingSystem;
48
uint8_t m_primaryCharacterSet;
52
uint8_t m_generalCharacteristics;
53
uint8_t m_classification;
54
uint8_t m_fill; // fill byte
56
uint8_t m_fontSourceFileType;
58
uint16_t m_fontNameLength;