| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkOTTable_EBDT_DEFINED | 8 #ifndef SkOTTable_EBDT_DEFINED |
| 9 #define SkOTTable_EBDT_DEFINED | 9 #define SkOTTable_EBDT_DEFINED |
| 10 | 10 |
| 11 #include "SkEndian.h" | 11 #include "SkEndian.h" |
| 12 #include "SkOTTableTypes.h" | 12 #include "SkOTTableTypes.h" |
| 13 #include "SkOTTable_head.h" | 13 #include "SkOTTable_head.h" |
| 14 #include "SkOTTable_loca.h" | 14 #include "SkOTTable_loca.h" |
| 15 #include "SkTypedEnum.h" | |
| 16 | 15 |
| 17 #pragma pack(push, 1) | 16 #pragma pack(push, 1) |
| 18 | 17 |
| 19 struct SkOTTableEmbeddedBitmapData { | 18 struct SkOTTableEmbeddedBitmapData { |
| 20 static const SK_OT_CHAR TAG0 = 'E'; | 19 static const SK_OT_CHAR TAG0 = 'E'; |
| 21 static const SK_OT_CHAR TAG1 = 'B'; | 20 static const SK_OT_CHAR TAG1 = 'B'; |
| 22 static const SK_OT_CHAR TAG2 = 'D'; | 21 static const SK_OT_CHAR TAG2 = 'D'; |
| 23 static const SK_OT_CHAR TAG3 = 'T'; | 22 static const SK_OT_CHAR TAG3 = 'T'; |
| 24 static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableEmbeddedBitmapData>::va
lue; | 23 static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableEmbeddedBitmapData>::va
lue; |
| 25 | 24 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 struct Format9 { | 99 struct Format9 { |
| 101 BigGlyphMetrics bigMetrics; // Metrics information for the glyph | 100 BigGlyphMetrics bigMetrics; // Metrics information for the glyph |
| 102 SK_OT_USHORT numComponents; // Number of components | 101 SK_OT_USHORT numComponents; // Number of components |
| 103 //EBDTComponent componentArray[numComponents]; // Glyph code, offset arr
ay | 102 //EBDTComponent componentArray[numComponents]; // Glyph code, offset arr
ay |
| 104 }; | 103 }; |
| 105 }; | 104 }; |
| 106 | 105 |
| 107 #pragma pack(pop) | 106 #pragma pack(pop) |
| 108 | 107 |
| 109 #endif | 108 #endif |
| OLD | NEW |