OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef OTS_GDEF_H_ | 5 #ifndef OTS_GDEF_H_ |
6 #define OTS_GDEF_H_ | 6 #define OTS_GDEF_H_ |
7 | 7 |
8 #include "ots.h" | 8 #include "ots.h" |
9 | 9 |
10 namespace ots { | 10 namespace ots { |
11 | 11 |
12 struct OpenTypeGDEF { | 12 struct OpenTypeGDEF { |
13 OpenTypeGDEF() | 13 OpenTypeGDEF() |
14 : version_2(false), | 14 : version_2(false), |
| 15 has_mark_attachment_class_def(false), |
| 16 has_mark_glyph_sets_def(false), |
| 17 num_mark_glyph_sets(0), |
15 data(NULL), | 18 data(NULL), |
16 length(0) { | 19 length(0) { |
17 } | 20 } |
18 | 21 |
19 bool version_2; | 22 bool version_2; |
| 23 bool has_mark_attachment_class_def; |
| 24 bool has_mark_glyph_sets_def; |
| 25 uint16_t num_mark_glyph_sets; |
| 26 |
20 const uint8_t *data; | 27 const uint8_t *data; |
21 size_t length; | 28 size_t length; |
22 }; | 29 }; |
23 | 30 |
24 } // namespace ots | 31 } // namespace ots |
25 | 32 |
26 #endif | 33 #endif |
27 | 34 |
OLD | NEW |