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-ot-shape-complex-arabic-fallback.hh

Issue 12438036: Update harfbuzz-ng to 0.9.14 from 0.9.10 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright © 2012 Google, Inc. 2 * Copyright © 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 free (fallback_plan); 237 free (fallback_plan);
238 } 238 }
239 239
240 static void 240 static void
241 arabic_fallback_plan_shape (arabic_fallback_plan_t *fallback_plan, 241 arabic_fallback_plan_shape (arabic_fallback_plan_t *fallback_plan,
242 hb_font_t *font, 242 hb_font_t *font,
243 hb_buffer_t *buffer) 243 hb_buffer_t *buffer)
244 { 244 {
245 for (unsigned int i = 0; i < ARABIC_NUM_FALLBACK_FEATURES; i++) 245 for (unsigned int i = 0; i < ARABIC_NUM_FALLBACK_FEATURES; i++)
246 if (fallback_plan->lookup_array[i]) { 246 if (fallback_plan->lookup_array[i]) {
247 OT::hb_apply_context_t c (font, buffer, fallback_plan->mask_array[i]); 247 OT::hb_apply_context_t c (0, font, buffer, fallback_plan->mask_array[i], t rue/*auto_zwj*/);
248 fallback_plan->lookup_array[i]->apply_string (&c, &fallback_plan->digest_a rray[i]); 248 fallback_plan->lookup_array[i]->apply_string (&c, &fallback_plan->digest_a rray[i]);
249 } 249 }
250 } 250 }
251 251
252 252
253 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH */ 253 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698