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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh

Issue 503073002: roll harfbuzz 0d2c2f238bf0a847ecd55a70cc0f081f18a053ac:d457e3f0ff9b27616a34e4cc110d3edbf8796841 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 unsigned int num_lookups; 200 unsigned int num_lookups;
201 bool free_lookups; 201 bool free_lookups;
202 202
203 hb_mask_t mask_array[ARABIC_FALLBACK_MAX_LOOKUPS]; 203 hb_mask_t mask_array[ARABIC_FALLBACK_MAX_LOOKUPS];
204 OT::SubstLookup *lookup_array[ARABIC_FALLBACK_MAX_LOOKUPS]; 204 OT::SubstLookup *lookup_array[ARABIC_FALLBACK_MAX_LOOKUPS];
205 hb_ot_layout_lookup_accelerator_t accel_array[ARABIC_FALLBACK_MAX_LOOKUPS]; 205 hb_ot_layout_lookup_accelerator_t accel_array[ARABIC_FALLBACK_MAX_LOOKUPS];
206 }; 206 };
207 207
208 static const arabic_fallback_plan_t arabic_fallback_plan_nil = {}; 208 static const arabic_fallback_plan_t arabic_fallback_plan_nil = {};
209 209
210 #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(HB_WITH_WIN1256) 210 #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(HB_NO_WIN1256)
211 #define HB_WITH_WIN1256 211 #define HB_WITH_WIN1256
212 #endif 212 #endif
213 213
214 #ifdef HB_WITH_WIN1256 214 #ifdef HB_WITH_WIN1256
215 #include "hb-ot-shape-complex-arabic-win1256.hh" 215 #include "hb-ot-shape-complex-arabic-win1256.hh"
216 #endif 216 #endif
217 217
218 struct ManifestLookup { 218 struct ManifestLookup {
219 OT::Tag tag; 219 OT::Tag tag;
220 OT::OffsetTo<OT::SubstLookup> lookupOffset; 220 OT::OffsetTo<OT::SubstLookup> lookupOffset;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 if (fallback_plan->lookup_array[i]) { 345 if (fallback_plan->lookup_array[i]) {
346 c.set_lookup_mask (fallback_plan->mask_array[i]); 346 c.set_lookup_mask (fallback_plan->mask_array[i]);
347 hb_ot_layout_substitute_lookup (&c, 347 hb_ot_layout_substitute_lookup (&c,
348 *fallback_plan->lookup_array[i], 348 *fallback_plan->lookup_array[i],
349 fallback_plan->accel_array[i]); 349 fallback_plan->accel_array[i]);
350 } 350 }
351 } 351 }
352 352
353 353
354 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH */ 354 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-font.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-win1256.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698