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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-graphite2.cc

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 © 2011 Martin Hosken 2 * Copyright © 2011 Martin Hosken
3 * Copyright © 2011 SIL International 3 * Copyright © 2011 SIL International
4 * Copyright © 2011,2012 Google, Inc. 4 * Copyright © 2011,2012 Google, Inc.
5 * 5 *
6 * This is part of HarfBuzz, a text shaping library. 6 * This is part of HarfBuzz, a text shaping library.
7 * 7 *
8 * Permission is hereby granted, without written agreement and without 8 * Permission is hereby granted, without written agreement and without
9 * license or royalty fees, to use, copy, modify, and distribute this 9 * license or royalty fees, to use, copy, modify, and distribute this
10 * software and its documentation for any purpose, provided that the 10 * software and its documentation for any purpose, provided that the
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 /* 189 /*
190 * shaper shape_plan data 190 * shaper shape_plan data
191 */ 191 */
192 192
193 struct hb_graphite2_shaper_shape_plan_data_t {}; 193 struct hb_graphite2_shaper_shape_plan_data_t {};
194 194
195 hb_graphite2_shaper_shape_plan_data_t * 195 hb_graphite2_shaper_shape_plan_data_t *
196 _hb_graphite2_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan HB_U NUSED, 196 _hb_graphite2_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan HB_U NUSED,
197 const hb_feature_t *user_features H B_UNUSED, 197 const hb_feature_t *user_features H B_UNUSED,
198 » » » » » unsigned int num_user_featur es HB_UNUSED) 198 » » » » » unsigned int num_user_featur es HB_UNUSED,
199 » » » » » const int *coords HB_UNUSE D,
200 » » » » » unsigned int num_coords HB_U NUSED)
199 { 201 {
200 return (hb_graphite2_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED; 202 return (hb_graphite2_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
201 } 203 }
202 204
203 void 205 void
204 _hb_graphite2_shaper_shape_plan_data_destroy (hb_graphite2_shaper_shape_plan_dat a_t *data HB_UNUSED) 206 _hb_graphite2_shaper_shape_plan_data_destroy (hb_graphite2_shaper_shape_plan_dat a_t *data HB_UNUSED)
205 { 207 {
206 } 208 }
207 209
208 210
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; 418 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy;
417 } 419 }
418 hb_buffer_reverse_clusters (buffer); 420 hb_buffer_reverse_clusters (buffer);
419 } 421 }
420 422
421 if (feats) gr_featureval_destroy (feats); 423 if (feats) gr_featureval_destroy (feats);
422 gr_seg_destroy (seg); 424 gr_seg_destroy (seg);
423 425
424 return true; 426 return true;
425 } 427 }
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-glib.cc ('k') | third_party/harfbuzz-ng/src/hb-open-type-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698