[subset] Move DeviceRecord inside of hdmx.
This commit is contained in:
parent
6704cded65
commit
bd18b6adf8
|
@ -34,6 +34,11 @@ 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 hdmx
|
||||||
|
{
|
||||||
|
static const hb_tag_t tableTag = HB_OT_TAG_glyf;
|
||||||
|
|
||||||
struct DeviceRecord
|
struct DeviceRecord
|
||||||
{
|
{
|
||||||
struct SubsetView
|
struct SubsetView
|
||||||
|
@ -93,9 +98,6 @@ struct DeviceRecord
|
||||||
DEFINE_SIZE_MIN (2);
|
DEFINE_SIZE_MIN (2);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hdmx
|
|
||||||
{
|
|
||||||
|
|
||||||
inline unsigned int get_size (void) const
|
inline unsigned int get_size (void) const
|
||||||
{
|
{
|
||||||
return min_size + num_records * size_device_record;
|
return min_size + num_records * size_device_record;
|
||||||
|
|
Loading…
Reference in New Issue