OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2007,2008,2009 Red Hat, Inc. | 2 * Copyright © 2007,2008,2009 Red Hat, Inc. |
3 * Copyright © 2012,2013 Google, Inc. | 3 * Copyright © 2012,2013 Google, Inc. |
4 * | 4 * |
5 * This is part of HarfBuzz, a text shaping library. | 5 * This is part of HarfBuzz, a text shaping library. |
6 * | 6 * |
7 * Permission is hereby granted, without written agreement and without | 7 * Permission is hereby granted, without written agreement and without |
8 * license or royalty fees, to use, copy, modify, and distribute this | 8 * license or royalty fees, to use, copy, modify, and distribute this |
9 * software and its documentation for any purpose, provided that the | 9 * software and its documentation for any purpose, provided that the |
10 * above copyright notice and the following two paragraphs appear in | 10 * above copyright notice and the following two paragraphs appear in |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 struct hb_ot_layout_lookup_accelerator_t | 120 struct hb_ot_layout_lookup_accelerator_t |
121 { | 121 { |
122 template <typename TLookup> | 122 template <typename TLookup> |
123 inline void init (const TLookup &lookup) | 123 inline void init (const TLookup &lookup) |
124 { | 124 { |
125 digest.init (); | 125 digest.init (); |
126 lookup.add_coverage (&digest); | 126 lookup.add_coverage (&digest); |
127 } | 127 } |
128 | 128 |
129 template <typename TLookup> | 129 inline void fini (void) |
130 inline void fini (const TLookup &lookup HB_UNUSED) | |
131 { | 130 { |
132 } | 131 } |
133 | 132 |
134 hb_set_digest_t digest; | 133 hb_set_digest_t digest; |
135 }; | 134 }; |
136 | 135 |
137 struct hb_ot_layout_t | 136 struct hb_ot_layout_t |
138 { | 137 { |
139 hb_blob_t *gdef_blob; | 138 hb_blob_t *gdef_blob; |
140 hb_blob_t *gsub_blob; | 139 hb_blob_t *gsub_blob; |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 } | 450 } |
452 | 451 |
453 /* Make sure no one directly touches our props... */ | 452 /* Make sure no one directly touches our props... */ |
454 #undef unicode_props0 | 453 #undef unicode_props0 |
455 #undef unicode_props1 | 454 #undef unicode_props1 |
456 #undef lig_props | 455 #undef lig_props |
457 #undef glyph_props | 456 #undef glyph_props |
458 | 457 |
459 | 458 |
460 #endif /* HB_OT_LAYOUT_PRIVATE_HH */ | 459 #endif /* HB_OT_LAYOUT_PRIVATE_HH */ |
OLD | NEW |