diff options
Diffstat (limited to 'sfnt/SkOTTable_maxp.h')
-rw-r--r-- | sfnt/SkOTTable_maxp.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sfnt/SkOTTable_maxp.h b/sfnt/SkOTTable_maxp.h new file mode 100644 index 00000000..d7feac69 --- /dev/null +++ b/sfnt/SkOTTable_maxp.h @@ -0,0 +1,34 @@ +/* + * Copyright 2012 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef SkOTTable_maxp_DEFINED +#define SkOTTable_maxp_DEFINED + +#include "SkOTTableTypes.h" +#include "SkOTTable_maxp_CFF.h" +#include "SkOTTable_maxp_TT.h" + +#pragma pack(push, 1) + +struct SkOTTableMaximumProfile { + static const SK_OT_CHAR TAG0 = 'm'; + static const SK_OT_CHAR TAG1 = 'a'; + static const SK_OT_CHAR TAG2 = 'x'; + static const SK_OT_CHAR TAG3 = 'p'; + static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableMaximumProfile>::value; + + union Version { + SK_OT_Fixed version; + + struct CFF : SkOTTableMaximumProfile_CFF { } cff; + struct TT : SkOTTableMaximumProfile_TT { } tt; + } version; +}; + +#pragma pack(pop) + +#endif |