OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2007,2008,2009 Red Hat, Inc. | 2 * Copyright © 2007,2008,2009 Red Hat, Inc. |
3 * | 3 * |
4 * This is part of HarfBuzz, a text shaping library. | 4 * This is part of HarfBuzz, a text shaping library. |
5 * | 5 * |
6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
10 * all copies of this software. | 10 * all copies of this software. |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 #ifndef HB_OT_LAYOUT_PRIVATE_HH | 27 #ifndef HB_OT_LAYOUT_PRIVATE_HH |
28 #define HB_OT_LAYOUT_PRIVATE_HH | 28 #define HB_OT_LAYOUT_PRIVATE_HH |
29 | 29 |
30 #include "hb-private.hh" | 30 #include "hb-private.hh" |
31 | 31 |
32 #include "hb-ot-layout.h" | 32 #include "hb-ot-layout.h" |
33 | 33 |
34 #include "hb-font-private.hh" | 34 #include "hb-font-private.hh" |
35 #include "hb-buffer-private.hh" | 35 #include "hb-buffer-private.hh" |
| 36 #include "hb-ot-shape-complex-private.hh" |
36 | 37 |
37 | 38 |
38 | 39 |
39 /* | 40 /* |
40 * GDEF | 41 * GDEF |
41 */ | 42 */ |
42 | 43 |
43 /* buffer var allocations */ | |
44 #define props_cache() var1.u16[1] /* glyph_props cache */ | |
45 | |
46 /* XXX cleanup */ | 44 /* XXX cleanup */ |
47 typedef enum { | 45 typedef enum { |
48 HB_OT_LAYOUT_GLYPH_CLASS_UNCLASSIFIED = 0x0001, | 46 HB_OT_LAYOUT_GLYPH_CLASS_UNCLASSIFIED = 0x0001, |
49 HB_OT_LAYOUT_GLYPH_CLASS_BASE_GLYPH = 0x0002, | 47 HB_OT_LAYOUT_GLYPH_CLASS_BASE_GLYPH = 0x0002, |
50 HB_OT_LAYOUT_GLYPH_CLASS_LIGATURE = 0x0004, | 48 HB_OT_LAYOUT_GLYPH_CLASS_LIGATURE = 0x0004, |
51 HB_OT_LAYOUT_GLYPH_CLASS_MARK = 0x0008, | 49 HB_OT_LAYOUT_GLYPH_CLASS_MARK = 0x0008, |
52 HB_OT_LAYOUT_GLYPH_CLASS_COMPONENT = 0x0010 | 50 HB_OT_LAYOUT_GLYPH_CLASS_COMPONENT = 0x0010 |
53 } hb_ot_layout_glyph_class_t; | 51 } hb_ot_layout_glyph_class_t; |
54 | 52 |
55 | 53 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 87 |
90 HB_INTERNAL hb_ot_layout_t * | 88 HB_INTERNAL hb_ot_layout_t * |
91 _hb_ot_layout_create (hb_face_t *face); | 89 _hb_ot_layout_create (hb_face_t *face); |
92 | 90 |
93 HB_INTERNAL void | 91 HB_INTERNAL void |
94 _hb_ot_layout_destroy (hb_ot_layout_t *layout); | 92 _hb_ot_layout_destroy (hb_ot_layout_t *layout); |
95 | 93 |
96 | 94 |
97 | 95 |
98 #endif /* HB_OT_LAYOUT_PRIVATE_HH */ | 96 #endif /* HB_OT_LAYOUT_PRIVATE_HH */ |
OLD | NEW |