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

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

Issue 10510004: Roll harfbuzz-ng 3b8fd9c48f4bde368bf2d465c148b9743a9216ee (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 © 2009,2010 Red Hat, Inc. 2 * Copyright © 2009,2010 Red Hat, Inc.
3 * Copyright © 2010,2011 Google, Inc. 3 * Copyright © 2010,2011 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 63
64 inline hb_tag_t get_chosen_script (unsigned int table_index) const 64 inline hb_tag_t get_chosen_script (unsigned int table_index) const
65 { return chosen_script[table_index]; } 65 { return chosen_script[table_index]; }
66 66
67 inline void substitute (hb_face_t *face, hb_buffer_t *buffer) const 67 inline void substitute (hb_face_t *face, hb_buffer_t *buffer) const
68 { apply (0, (hb_ot_map_t::apply_lookup_func_t) hb_ot_layout_substitute_lookup, face, buffer); } 68 { apply (0, (hb_ot_map_t::apply_lookup_func_t) hb_ot_layout_substitute_lookup, face, buffer); }
69 inline void position (hb_font_t *font, hb_buffer_t *buffer) const 69 inline void position (hb_font_t *font, hb_buffer_t *buffer) const
70 { apply (1, (hb_ot_map_t::apply_lookup_func_t) hb_ot_layout_position_lookup, f ont, buffer); } 70 { apply (1, (hb_ot_map_t::apply_lookup_func_t) hb_ot_layout_position_lookup, f ont, buffer); }
71 71
72 HB_INTERNAL void substitute_closure (hb_face_t *face,
73 hb_set_t *glyphs) const;
74
75
72 inline void finish (void) { 76 inline void finish (void) {
73 features.finish (); 77 features.finish ();
74 lookups[0].finish (); 78 lookups[0].finish ();
75 lookups[1].finish (); 79 lookups[1].finish ();
76 pauses[0].finish (); 80 pauses[0].finish ();
77 pauses[1].finish (); 81 pauses[1].finish ();
78 } 82 }
79 83
80 private: 84 private:
81 85
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 HB_INTERNAL void add_pause (unsigned int table_index, hb_ot_map_t::pause_func_ t pause_func, void *user_data); 186 HB_INTERNAL void add_pause (unsigned int table_index, hb_ot_map_t::pause_func_ t pause_func, void *user_data);
183 187
184 unsigned int current_stage[2]; /* GSUB/GPOS */ 188 unsigned int current_stage[2]; /* GSUB/GPOS */
185 hb_prealloced_array_t<feature_info_t,16> feature_infos; 189 hb_prealloced_array_t<feature_info_t,16> feature_infos;
186 hb_prealloced_array_t<pause_info_t, 1> pauses[2]; /* GSUB/GPOS */ 190 hb_prealloced_array_t<pause_info_t, 1> pauses[2]; /* GSUB/GPOS */
187 }; 191 };
188 192
189 193
190 194
191 #endif /* HB_OT_MAP_PRIVATE_HH */ 195 #endif /* HB_OT_MAP_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-map.cc ('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