Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-layout-private.hh

Issue 1005693006: Roll harfbuzz-ng to 0.9.40 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh ('k') | third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698