| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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_glyf_DEFINED | 8 #ifndef SkOTTable_glyf_DEFINED |
| 9 #define SkOTTable_glyf_DEFINED | 9 #define SkOTTable_glyf_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 SkOTTableGlyphData; | 18 struct SkOTTableGlyphData; |
| 20 | 19 |
| 21 extern uint8_t const * const SK_OT_GlyphData_NoOutline; | 20 extern uint8_t const * const SK_OT_GlyphData_NoOutline; |
| 22 | 21 |
| 23 struct SkOTTableGlyph { | 22 struct SkOTTableGlyph { |
| 24 static const SK_OT_CHAR TAG0 = 'g'; | 23 static const SK_OT_CHAR TAG0 = 'g'; |
| 25 static const SK_OT_CHAR TAG1 = 'l'; | 24 static const SK_OT_CHAR TAG1 = 'l'; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 struct Instructions { | 204 struct Instructions { |
| 206 SK_OT_USHORT length; | 205 SK_OT_USHORT length; |
| 207 SK_OT_BYTE data[1/*length*/]; | 206 SK_OT_BYTE data[1/*length*/]; |
| 208 }; | 207 }; |
| 209 }; | 208 }; |
| 210 }; | 209 }; |
| 211 | 210 |
| 212 #pragma pack(pop) | 211 #pragma pack(pop) |
| 213 | 212 |
| 214 #endif | 213 #endif |
| OLD | NEW |