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

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

Issue 2163983005: Roll HarfBuzz to 1.3.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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-shape.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode.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 (C) 2012 Grigori Goronzy <greg@kinoho.net> 2 * Copyright (C) 2012 Grigori Goronzy <greg@kinoho.net>
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above 5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies. 6 * copyright notice and this permission notice appear in all copies.
7 * 7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 HB_SCRIPT_PSALTER_PAHLAVI, 147 HB_SCRIPT_PSALTER_PAHLAVI,
148 HB_SCRIPT_SIDDHAM, 148 HB_SCRIPT_SIDDHAM,
149 HB_SCRIPT_TIRHUTA, 149 HB_SCRIPT_TIRHUTA,
150 HB_SCRIPT_WARANG_CITI, 150 HB_SCRIPT_WARANG_CITI,
151 HB_SCRIPT_AHOM, 151 HB_SCRIPT_AHOM,
152 HB_SCRIPT_ANATOLIAN_HIEROGLYPHS, 152 HB_SCRIPT_ANATOLIAN_HIEROGLYPHS,
153 HB_SCRIPT_HATRAN, 153 HB_SCRIPT_HATRAN,
154 HB_SCRIPT_MULTANI, 154 HB_SCRIPT_MULTANI,
155 HB_SCRIPT_OLD_HUNGARIAN, 155 HB_SCRIPT_OLD_HUNGARIAN,
156 HB_SCRIPT_SIGNWRITING, 156 HB_SCRIPT_SIGNWRITING,
157 HB_SCRIPT_ADLAM,
158 HB_SCRIPT_BHAIKSUKI,
159 HB_SCRIPT_MARCHEN,
160 HB_SCRIPT_NEWA,
161 HB_SCRIPT_OSAGE,
162 HB_SCRIPT_TANGUT,
157 }; 163 };
158 164
159 static hb_unicode_combining_class_t 165 static hb_unicode_combining_class_t
160 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, 166 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode,
161 void *user_data HB_UNUSED) 167 void *user_data HB_UNUSED)
162 { 168 {
163 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode); 169 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode);
164 } 170 }
165 171
166 static unsigned int 172 static unsigned int
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 { 234 {
229 #define HB_UNICODE_FUNC_IMPLEMENT(name) hb_ucdn_##name, 235 #define HB_UNICODE_FUNC_IMPLEMENT(name) hb_ucdn_##name,
230 HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS 236 HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS
231 #undef HB_UNICODE_FUNC_IMPLEMENT 237 #undef HB_UNICODE_FUNC_IMPLEMENT
232 } 238 }
233 }; 239 };
234 240
235 return const_cast<hb_unicode_funcs_t *> (&_hb_ucdn_unicode_funcs); 241 return const_cast<hb_unicode_funcs_t *> (&_hb_ucdn_unicode_funcs);
236 } 242 }
237 243
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shape.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698