| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 inline void fini (void) | 129 inline void fini (void) |
| 130 { | 130 { |
| 131 } | 131 } |
| 132 | 132 |
| 133 inline bool may_have (hb_codepoint_t g) const { |
| 134 return digest.may_have (g); |
| 135 } |
| 136 |
| 137 private: |
| 133 hb_set_digest_t digest; | 138 hb_set_digest_t digest; |
| 134 }; | 139 }; |
| 135 | 140 |
| 136 struct hb_ot_layout_t | 141 struct hb_ot_layout_t |
| 137 { | 142 { |
| 138 hb_blob_t *gdef_blob; | 143 hb_blob_t *gdef_blob; |
| 139 hb_blob_t *gsub_blob; | 144 hb_blob_t *gsub_blob; |
| 140 hb_blob_t *gpos_blob; | 145 hb_blob_t *gpos_blob; |
| 141 | 146 |
| 142 const struct OT::GDEF *gdef; | 147 const struct OT::GDEF *gdef; |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 } | 455 } |
| 451 | 456 |
| 452 /* Make sure no one directly touches our props... */ | 457 /* Make sure no one directly touches our props... */ |
| 453 #undef unicode_props0 | 458 #undef unicode_props0 |
| 454 #undef unicode_props1 | 459 #undef unicode_props1 |
| 455 #undef lig_props | 460 #undef lig_props |
| 456 #undef glyph_props | 461 #undef glyph_props |
| 457 | 462 |
| 458 | 463 |
| 459 #endif /* HB_OT_LAYOUT_PRIVATE_HH */ | 464 #endif /* HB_OT_LAYOUT_PRIVATE_HH */ |
| OLD | NEW |