[subset] Move DeviceRecord inside of hdmx.

This commit is contained in:
Garret Rieger 2018-02-21 17:42:58 -08:00
parent 6704cded65
commit bd18b6adf8
1 changed files with 60 additions and 58 deletions

View File

@ -34,8 +34,13 @@ namespace OT {
#define HB_OT_TAG_hdmx HB_TAG('h','d','m','x') #define HB_OT_TAG_hdmx HB_TAG('h','d','m','x')
struct DeviceRecord
struct hdmx
{ {
static const hb_tag_t tableTag = HB_OT_TAG_glyf;
struct DeviceRecord
{
struct SubsetView struct SubsetView
{ {
const DeviceRecord *source_device_record; const DeviceRecord *source_device_record;
@ -91,10 +96,7 @@ struct DeviceRecord
HBUINT8 widths[VAR]; HBUINT8 widths[VAR];
DEFINE_SIZE_MIN (2); DEFINE_SIZE_MIN (2);
}; };
struct hdmx
{
inline unsigned int get_size (void) const inline unsigned int get_size (void) const
{ {