OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_H_ | 5 #ifndef OTS_H_ |
6 #define OTS_H_ | 6 #define OTS_H_ |
7 | 7 |
8 #include <cstdarg> | 8 #include <cstdarg> |
9 #include <cstdio> | 9 #include <cstdio> |
10 #include <cstdlib> | 10 #include <cstdlib> |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 F(cff, CFF) \ | 148 F(cff, CFF) \ |
149 F(cmap, CMAP) \ | 149 F(cmap, CMAP) \ |
150 F(cvt, CVT) \ | 150 F(cvt, CVT) \ |
151 F(fpgm, FPGM) \ | 151 F(fpgm, FPGM) \ |
152 F(gasp, GASP) \ | 152 F(gasp, GASP) \ |
153 F(glyf, GLYF) \ | 153 F(glyf, GLYF) \ |
154 F(hdmx, HDMX) \ | 154 F(hdmx, HDMX) \ |
155 F(head, HEAD) \ | 155 F(head, HEAD) \ |
156 F(hhea, HHEA) \ | 156 F(hhea, HHEA) \ |
157 F(hmtx, HMTX) \ | 157 F(hmtx, HMTX) \ |
| 158 F(kern, KERN) \ |
158 F(loca, LOCA) \ | 159 F(loca, LOCA) \ |
159 F(ltsh, LTSH) \ | 160 F(ltsh, LTSH) \ |
160 F(maxp, MAXP) \ | 161 F(maxp, MAXP) \ |
161 F(name, NAME) \ | 162 F(name, NAME) \ |
162 F(os2, OS2) \ | 163 F(os2, OS2) \ |
163 F(post, POST) \ | 164 F(post, POST) \ |
164 F(prep, PREP) \ | 165 F(prep, PREP) \ |
165 F(vdmx, VDMX) \ | 166 F(vdmx, VDMX) \ |
166 F(vorg, VORG) | 167 F(vorg, VORG) |
167 | 168 |
(...skipping 15 matching lines...) Expand all Loading... |
183 uint16_t range_shift; | 184 uint16_t range_shift; |
184 | 185 |
185 #define F(name, capname) OpenType##capname *name; | 186 #define F(name, capname) OpenType##capname *name; |
186 FOR_EACH_TABLE_TYPE | 187 FOR_EACH_TABLE_TYPE |
187 #undef F | 188 #undef F |
188 }; | 189 }; |
189 | 190 |
190 } // namespace ots | 191 } // namespace ots |
191 | 192 |
192 #endif // OTS_H_ | 193 #endif // OTS_H_ |
OLD | NEW |