|
|
|
@ -100,7 +100,8 @@ struct DeviceRecord |
|
|
|
|
HBUINT8 pixel_size; /* Pixel size for following widths (as ppem). */ |
|
|
|
|
HBUINT8 max_width; /* Maximum width. */ |
|
|
|
|
HBUINT8 widths[VAR]; /* Array of widths (numGlyphs is from the 'maxp' table). */ |
|
|
|
|
DEFINE_SIZE_MIN (2); |
|
|
|
|
public: |
|
|
|
|
DEFINE_SIZE_ARRAY (2, widths); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -192,8 +193,8 @@ struct hdmx |
|
|
|
|
|
|
|
|
|
public: |
|
|
|
|
HBUINT16 version; /* Table version number (0) */ |
|
|
|
|
HBINT16 num_records; /* Number of device records. */ |
|
|
|
|
HBINT32 size_device_record; /* Size of a device record, 32-bit aligned. */ |
|
|
|
|
HBUINT16 num_records; /* Number of device records. */ |
|
|
|
|
HBUINT32 size_device_record; /* Size of a device record, 32-bit aligned. */ |
|
|
|
|
private: |
|
|
|
|
DeviceRecord records[VAR]; /* Array of device records. */ |
|
|
|
|
public: |
|
|
|
|