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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-coretext.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 © 2012,2013 Mozilla Foundation. 2 * Copyright © 2012,2013 Mozilla Foundation.
3 * Copyright © 2012,2013 Google, Inc. 3 * Copyright © 2012,2013 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 /* 282 /*
283 * shaper shape_plan data 283 * shaper shape_plan data
284 */ 284 */
285 285
286 struct hb_coretext_shaper_shape_plan_data_t {}; 286 struct hb_coretext_shaper_shape_plan_data_t {};
287 287
288 hb_coretext_shaper_shape_plan_data_t * 288 hb_coretext_shaper_shape_plan_data_t *
289 _hb_coretext_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan HB_UN USED, 289 _hb_coretext_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan HB_UN USED,
290 const hb_feature_t *user_features H B_UNUSED, 290 const hb_feature_t *user_features H B_UNUSED,
291 » » » » » unsigned int num_user_featur es HB_UNUSED) 291 » » » » » unsigned int num_user_featur es HB_UNUSED,
292 » » » » » const int *coords HB_UNUSE D,
293 » » » » » unsigned int num_coords HB_U NUSED)
292 { 294 {
293 return (hb_coretext_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED; 295 return (hb_coretext_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
294 } 296 }
295 297
296 void 298 void
297 _hb_coretext_shaper_shape_plan_data_destroy (hb_coretext_shaper_shape_plan_data_ t *data HB_UNUSED) 299 _hb_coretext_shaper_shape_plan_data_destroy (hb_coretext_shaper_shape_plan_data_ t *data HB_UNUSED)
298 { 300 {
299 } 301 }
300 302
301 CTFontRef 303 CTFontRef
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 1275
1274 /* 1276 /*
1275 * shaper shape_plan data 1277 * shaper shape_plan data
1276 */ 1278 */
1277 1279
1278 struct hb_coretext_aat_shaper_shape_plan_data_t {}; 1280 struct hb_coretext_aat_shaper_shape_plan_data_t {};
1279 1281
1280 hb_coretext_aat_shaper_shape_plan_data_t * 1282 hb_coretext_aat_shaper_shape_plan_data_t *
1281 _hb_coretext_aat_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan H B_UNUSED, 1283 _hb_coretext_aat_shaper_shape_plan_data_create (hb_shape_plan_t *shape_plan H B_UNUSED,
1282 const hb_feature_t *user_features H B_UNUSED, 1284 const hb_feature_t *user_features H B_UNUSED,
1283 » » » » » unsigned int num_user_featur es HB_UNUSED) 1285 » » » » » unsigned int num_user_featur es HB_UNUSED,
1286 » » » » » const int *coords HB_UNUSE D,
1287 » » » » » unsigned int num_coords HB_U NUSED)
1284 { 1288 {
1285 return (hb_coretext_aat_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED; 1289 return (hb_coretext_aat_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
1286 } 1290 }
1287 1291
1288 void 1292 void
1289 _hb_coretext_aat_shaper_shape_plan_data_destroy (hb_coretext_aat_shaper_shape_pl an_data_t *data HB_UNUSED) 1293 _hb_coretext_aat_shaper_shape_plan_data_destroy (hb_coretext_aat_shaper_shape_pl an_data_t *data HB_UNUSED)
1290 { 1294 {
1291 } 1295 }
1292 1296
1293 1297
1294 /* 1298 /*
1295 * shaper 1299 * shaper
1296 */ 1300 */
1297 1301
1298 hb_bool_t 1302 hb_bool_t
1299 _hb_coretext_aat_shape (hb_shape_plan_t *shape_plan, 1303 _hb_coretext_aat_shape (hb_shape_plan_t *shape_plan,
1300 hb_font_t *font, 1304 hb_font_t *font,
1301 hb_buffer_t *buffer, 1305 hb_buffer_t *buffer,
1302 const hb_feature_t *features, 1306 const hb_feature_t *features,
1303 unsigned int num_features) 1307 unsigned int num_features)
1304 { 1308 {
1305 return _hb_coretext_shape (shape_plan, font, buffer, features, num_features); 1309 return _hb_coretext_shape (shape_plan, font, buffer, features, num_features);
1306 } 1310 }
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/README.chromium ('k') | third_party/harfbuzz-ng/src/hb-fallback-shape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698