diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-20 18:52:23 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-20 18:52:23 +0000 |
commit | a544f29496758de6ed2ebf5a53558574019c9da1 (patch) | |
tree | a69ac43e4d7e0babbcd08f788eb5b7179f9c3ef8 /src/sfnt/SkOTTable_maxp.h | |
parent | 336b4da6b0d20f27f9980b03415354a2f0698e18 (diff) |
Additional OpenType tables.
https://codereview.appspot.com/6850075/
git-svn-id: http://skia.googlecode.com/svn/trunk@6509 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/sfnt/SkOTTable_maxp.h')
-rw-r--r-- | src/sfnt/SkOTTable_maxp.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/sfnt/SkOTTable_maxp.h b/src/sfnt/SkOTTable_maxp.h new file mode 100644 index 0000000000..3120cd4db2 --- /dev/null +++ b/src/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 |