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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-fallback-shape.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
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-coretext.cc ('k') | third_party/harfbuzz-ng/src/hb-font.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright © 2011 Google, Inc. 2 * Copyright © 2011 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 /* 67 /*
68 * shaper shape_plan data 68 * shaper shape_plan data
69 */ 69 */
70 70
71 struct hb_fallback_shaper_shape_plan_data_t {}; 71 struct hb_fallback_shaper_shape_plan_data_t {};
72 72
73 hb_fallback_shaper_shape_plan_data_t * 73 hb_fallback_shaper_shape_plan_data_t *
74 _hb_fallback_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan HB_UN USED, 74 _hb_fallback_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan HB_UN USED,
75 const hb_feature_t *user_features HB _UNUSED, 75 const hb_feature_t *user_features HB _UNUSED,
76 » » » » » unsigned int num_user_feature s HB_UNUSED) 76 » » » » » unsigned int num_user_feature s HB_UNUSED,
77 » » » » » const int *coords HB_UNUSED ,
78 » » » » » unsigned int num_coords HB_UN USED)
77 { 79 {
78 return (hb_fallback_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED; 80 return (hb_fallback_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
79 } 81 }
80 82
81 void 83 void
82 _hb_fallback_shaper_shape_plan_data_destroy (hb_fallback_shaper_shape_plan_data_ t *data HB_UNUSED) 84 _hb_fallback_shaper_shape_plan_data_destroy (hb_fallback_shaper_shape_plan_data_ t *data HB_UNUSED)
83 { 85 {
84 } 86 }
85 87
86 88
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 direction, 134 direction,
133 &pos[i].x_offset, 135 &pos[i].x_offset,
134 &pos[i].y_offset); 136 &pos[i].y_offset);
135 } 137 }
136 138
137 if (HB_DIRECTION_IS_BACKWARD (direction)) 139 if (HB_DIRECTION_IS_BACKWARD (direction))
138 hb_buffer_reverse (buffer); 140 hb_buffer_reverse (buffer);
139 141
140 return true; 142 return true;
141 } 143 }
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-coretext.cc ('k') | third_party/harfbuzz-ng/src/hb-font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698