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 <stddef.h> | 8 #include <stddef.h> |
9 #include <cstdarg> | 9 #include <cstdarg> |
10 #include <cstddef> | 10 #include <cstddef> |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 F(glyf, GLYF) \ | 192 F(glyf, GLYF) \ |
193 F(gpos, GPOS) \ | 193 F(gpos, GPOS) \ |
194 F(gsub, GSUB) \ | 194 F(gsub, GSUB) \ |
195 F(hdmx, HDMX) \ | 195 F(hdmx, HDMX) \ |
196 F(head, HEAD) \ | 196 F(head, HEAD) \ |
197 F(hhea, HHEA) \ | 197 F(hhea, HHEA) \ |
198 F(hmtx, HMTX) \ | 198 F(hmtx, HMTX) \ |
199 F(kern, KERN) \ | 199 F(kern, KERN) \ |
200 F(loca, LOCA) \ | 200 F(loca, LOCA) \ |
201 F(ltsh, LTSH) \ | 201 F(ltsh, LTSH) \ |
| 202 F(math, MATH) \ |
202 F(maxp, MAXP) \ | 203 F(maxp, MAXP) \ |
203 F(name, NAME) \ | 204 F(name, NAME) \ |
204 F(os2, OS2) \ | 205 F(os2, OS2) \ |
205 F(post, POST) \ | 206 F(post, POST) \ |
206 F(prep, PREP) \ | 207 F(prep, PREP) \ |
207 F(vdmx, VDMX) \ | 208 F(vdmx, VDMX) \ |
208 F(vorg, VORG) \ | 209 F(vorg, VORG) \ |
209 F(vhea, VHEA) \ | 210 F(vhea, VHEA) \ |
210 F(vmtx, VMTX) | 211 F(vmtx, VMTX) |
211 | 212 |
(...skipping 24 matching lines...) Expand all Loading... |
236 bool ots_##name##_should_serialise(OpenTypeFile *f); \ | 237 bool ots_##name##_should_serialise(OpenTypeFile *f); \ |
237 bool ots_##name##_serialise(OTSStream *s, OpenTypeFile *f); \ | 238 bool ots_##name##_serialise(OTSStream *s, OpenTypeFile *f); \ |
238 void ots_##name##_free(OpenTypeFile *f); | 239 void ots_##name##_free(OpenTypeFile *f); |
239 // TODO(yusukes): change these function names to follow Chromium coding rule. | 240 // TODO(yusukes): change these function names to follow Chromium coding rule. |
240 FOR_EACH_TABLE_TYPE | 241 FOR_EACH_TABLE_TYPE |
241 #undef F | 242 #undef F |
242 | 243 |
243 } // namespace ots | 244 } // namespace ots |
244 | 245 |
245 #endif // OTS_H_ | 246 #endif // OTS_H_ |
OLD | NEW |