[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,6 +34,11 @@ namespace OT {
#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 SubsetView
@ -93,9 +98,6 @@ struct DeviceRecord
DEFINE_SIZE_MIN (2);
};
struct hdmx
{
inline unsigned int get_size (void) const
{
return min_size + num_records * size_device_record;