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

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

Issue 2622553002: Roll HarfBuzz to 1.4.1 (Closed)
Patch Set: Linux rebaselines Created 3 years, 11 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 © 2010,2011,2012 Google, Inc. 2 * Copyright © 2010,2011,2012 Google, 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 /* setup_masks() 139 /* setup_masks()
140 * Called during shape(). 140 * Called during shape().
141 * Shapers should use map to get feature masks and set on buffer. 141 * Shapers should use map to get feature masks and set on buffer.
142 * Shapers may NOT modify characters. 142 * Shapers may NOT modify characters.
143 * May be NULL. 143 * May be NULL.
144 */ 144 */
145 void (*setup_masks) (const hb_ot_shape_plan_t *plan, 145 void (*setup_masks) (const hb_ot_shape_plan_t *plan,
146 hb_buffer_t *buffer, 146 hb_buffer_t *buffer,
147 hb_font_t *font); 147 hb_font_t *font);
148 148
149 /* disable_otl()
150 * Called during shape().
151 * If set and returns true, GDEF/GSUB/GPOS of the font are ignored
152 * and fallback operations used.
153 * May be NULL.
154 */
155 bool (*disable_otl) (const hb_ot_shape_plan_t *plan);
156
149 hb_ot_shape_zero_width_marks_type_t zero_width_marks; 157 hb_ot_shape_zero_width_marks_type_t zero_width_marks;
150 158
151 bool fallback_position; 159 bool fallback_position;
152 }; 160 };
153 161
154 #define HB_COMPLEX_SHAPER_IMPLEMENT(name) extern HB_INTERNAL const hb_ot_complex _shaper_t _hb_ot_complex_shaper_##name; 162 #define HB_COMPLEX_SHAPER_IMPLEMENT(name) extern HB_INTERNAL const hb_ot_complex _shaper_t _hb_ot_complex_shaper_##name;
155 HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS 163 HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS
156 #undef HB_COMPLEX_SHAPER_IMPLEMENT 164 #undef HB_COMPLEX_SHAPER_IMPLEMENT
157 165
158 166
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 * GSUB/GPOS needed, so there may be no scripts found! */ 365 * GSUB/GPOS needed, so there may be no scripts found! */
358 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) 366 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T'))
359 return &_hb_ot_complex_shaper_default; 367 return &_hb_ot_complex_shaper_default;
360 else 368 else
361 return &_hb_ot_complex_shaper_use; 369 return &_hb_ot_complex_shaper_use;
362 } 370 }
363 } 371 }
364 372
365 373
366 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ 374 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698