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

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

Issue 1476763003: Roll HarfBuzz to 1.1.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows line height rebaseline Created 5 years 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 /* preprocess_text() 104 /* preprocess_text()
105 * Called during shape(). 105 * Called during shape().
106 * Shapers can use to modify text before shaping starts. 106 * Shapers can use to modify text before shaping starts.
107 * May be NULL. 107 * May be NULL.
108 */ 108 */
109 void (*preprocess_text) (const hb_ot_shape_plan_t *plan, 109 void (*preprocess_text) (const hb_ot_shape_plan_t *plan,
110 hb_buffer_t *buffer, 110 hb_buffer_t *buffer,
111 hb_font_t *font); 111 hb_font_t *font);
112 112
113 /* postprocess_glyphs()
114 * Called during shape().
115 * Shapers can use to modify glyphs after shaping ends.
116 * May be NULL.
117 */
118 void (*postprocess_glyphs) (const hb_ot_shape_plan_t *plan,
119 hb_buffer_t *buffer,
120 hb_font_t *font);
121
113 122
114 hb_ot_shape_normalization_mode_t normalization_preference; 123 hb_ot_shape_normalization_mode_t normalization_preference;
115 124
116 /* decompose() 125 /* decompose()
117 * Called during shape()'s normalization. 126 * Called during shape()'s normalization.
118 * May be NULL. 127 * May be NULL.
119 */ 128 */
120 bool (*decompose) (const hb_ot_shape_normalize_context_t *c, 129 bool (*decompose) (const hb_ot_shape_normalize_context_t *c,
121 hb_codepoint_t ab, 130 hb_codepoint_t ab,
122 hb_codepoint_t *a, 131 hb_codepoint_t *a,
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 * GSUB/GPOS needed, so there may be no scripts found! */ 355 * GSUB/GPOS needed, so there may be no scripts found! */
347 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T')) 356 if (planner->map.chosen_script[0] == HB_TAG ('D','F','L','T'))
348 return &_hb_ot_complex_shaper_default; 357 return &_hb_ot_complex_shaper_default;
349 else 358 else
350 return &_hb_ot_complex_shaper_use; 359 return &_hb_ot_complex_shaper_use;
351 } 360 }
352 } 361 }
353 362
354 363
355 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */ 364 #endif /* HB_OT_SHAPE_COMPLEX_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698