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

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

Issue 10510004: Roll harfbuzz-ng 3b8fd9c48f4bde368bf2d465c148b9743a9216ee (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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-glib.h ('k') | third_party/harfbuzz-ng/src/hb-gobject.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 © 2009 Red Hat, Inc. 2 * Copyright © 2009 Red Hat, Inc.
3 * Copyright © 2011 Google, Inc. 3 * Copyright © 2011 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 HB_SCRIPT_LISU, 137 HB_SCRIPT_LISU,
138 HB_SCRIPT_MEETEI_MAYEK, 138 HB_SCRIPT_MEETEI_MAYEK,
139 HB_SCRIPT_OLD_SOUTH_ARABIAN, 139 HB_SCRIPT_OLD_SOUTH_ARABIAN,
140 HB_SCRIPT_OLD_TURKIC, 140 HB_SCRIPT_OLD_TURKIC,
141 HB_SCRIPT_SAMARITAN, 141 HB_SCRIPT_SAMARITAN,
142 HB_SCRIPT_TAI_VIET, 142 HB_SCRIPT_TAI_VIET,
143 143
144 /* Unicode-6.0 additions */ 144 /* Unicode-6.0 additions */
145 HB_SCRIPT_BATAK, 145 HB_SCRIPT_BATAK,
146 HB_SCRIPT_BRAHMI, 146 HB_SCRIPT_BRAHMI,
147 HB_SCRIPT_MANDAIC 147 HB_SCRIPT_MANDAIC,
148
149 /* Unicode-6.1 additions */
150 HB_SCRIPT_CHAKMA,
151 HB_SCRIPT_MEROITIC_CURSIVE,
152 HB_SCRIPT_MEROITIC_HIEROGLYPHS,
153 HB_SCRIPT_MIAO,
154 HB_SCRIPT_SHARADA,
155 HB_SCRIPT_SORA_SOMPENG,
156 HB_SCRIPT_TAKRI
148 }; 157 };
149 #endif 158 #endif
150 159
151 hb_script_t 160 hb_script_t
152 hb_glib_script_to_script (GUnicodeScript script) 161 hb_glib_script_to_script (GUnicodeScript script)
153 { 162 {
154 #if GLIB_CHECK_VERSION(2,29,14) 163 #if GLIB_CHECK_VERSION(2,29,14)
155 return (hb_script_t) g_unicode_script_to_iso15924 (script); 164 return (hb_script_t) g_unicode_script_to_iso15924 (script);
156 #else 165 #else
157 if (likely ((unsigned int) script < ARRAY_LENGTH (glib_script_to_script))) 166 if (likely ((unsigned int) script < ARRAY_LENGTH (glib_script_to_script)))
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 #undef HB_UNICODE_FUNC_IMPLEMENT 349 #undef HB_UNICODE_FUNC_IMPLEMENT
341 } 350 }
342 }; 351 };
343 352
344 hb_unicode_funcs_t * 353 hb_unicode_funcs_t *
345 hb_glib_get_unicode_funcs (void) 354 hb_glib_get_unicode_funcs (void)
346 { 355 {
347 return &_hb_glib_unicode_funcs; 356 return &_hb_glib_unicode_funcs;
348 } 357 }
349 358
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-glib.h ('k') | third_party/harfbuzz-ng/src/hb-gobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698