summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir/otfcc/include/otfcc/table/hdmx.h
blob: 4349b6e8d6a146048bafd502fb2f1304b9836030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CARYLL_INCLUDE_TABLE_HDMX_H
#define CARYLL_INCLUDE_TABLE_HDMX_H

#include "table-common.h"
#include "maxp.h"

typedef struct {
	uint8_t pixelSize;
	uint8_t maxWidth;
	uint8_t *widths;
} device_record;

typedef struct {
	// Horizontal device metrics
	uint16_t version;
	uint16_t numRecords;
	uint32_t sizeDeviceRecord;
	OWNING device_record *records;
} table_hdmx;

extern caryll_RefElementInterface(table_hdmx) table_iHdmx;

#endif