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

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

Issue 1408003004: Roll harfbuzz-ng to 1.0.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years, 2 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-common.cc ('k') | third_party/harfbuzz-ng/src/hb-face.cc » ('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 © 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 return data; 119 return data;
120 } 120 }
121 121
122 void 122 void
123 _hb_coretext_shaper_face_data_destroy (hb_coretext_shaper_face_data_t *data) 123 _hb_coretext_shaper_face_data_destroy (hb_coretext_shaper_face_data_t *data)
124 { 124 {
125 CFRelease (data); 125 CFRelease (data);
126 } 126 }
127 127
128 /*
129 * Since: 0.9.10
130 */
128 CGFontRef 131 CGFontRef
129 hb_coretext_face_get_cg_font (hb_face_t *face) 132 hb_coretext_face_get_cg_font (hb_face_t *face)
130 { 133 {
131 if (unlikely (!hb_coretext_shaper_face_data_ensure (face))) return NULL; 134 if (unlikely (!hb_coretext_shaper_face_data_ensure (face))) return NULL;
132 hb_coretext_shaper_face_data_t *face_data = HB_SHAPER_DATA_GET (face); 135 hb_coretext_shaper_face_data_t *face_data = HB_SHAPER_DATA_GET (face);
133 return face_data; 136 return face_data;
134 } 137 }
135 138
136 139
137 /* 140 /*
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 1210
1208 hb_bool_t 1211 hb_bool_t
1209 _hb_coretext_aat_shape (hb_shape_plan_t *shape_plan, 1212 _hb_coretext_aat_shape (hb_shape_plan_t *shape_plan,
1210 hb_font_t *font, 1213 hb_font_t *font,
1211 hb_buffer_t *buffer, 1214 hb_buffer_t *buffer,
1212 const hb_feature_t *features, 1215 const hb_feature_t *features,
1213 unsigned int num_features) 1216 unsigned int num_features)
1214 { 1217 {
1215 return _hb_coretext_shape (shape_plan, font, buffer, features, num_features); 1218 return _hb_coretext_shape (shape_plan, font, buffer, features, num_features);
1216 } 1219 }
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-common.cc ('k') | third_party/harfbuzz-ng/src/hb-face.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698