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

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

Issue 396393005: Roll HarfBuzz to 0.9.32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for include order presubmit issue Created 6 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-plan.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode.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 (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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 HB_SCRIPT_BRAHMI, 118 HB_SCRIPT_BRAHMI,
119 HB_SCRIPT_MANDAIC, 119 HB_SCRIPT_MANDAIC,
120 HB_SCRIPT_CHAKMA, 120 HB_SCRIPT_CHAKMA,
121 HB_SCRIPT_MEROITIC_CURSIVE, 121 HB_SCRIPT_MEROITIC_CURSIVE,
122 HB_SCRIPT_MEROITIC_HIEROGLYPHS, 122 HB_SCRIPT_MEROITIC_HIEROGLYPHS,
123 HB_SCRIPT_MIAO, 123 HB_SCRIPT_MIAO,
124 HB_SCRIPT_SHARADA, 124 HB_SCRIPT_SHARADA,
125 HB_SCRIPT_SORA_SOMPENG, 125 HB_SCRIPT_SORA_SOMPENG,
126 HB_SCRIPT_TAKRI, 126 HB_SCRIPT_TAKRI,
127 HB_SCRIPT_UNKNOWN, 127 HB_SCRIPT_UNKNOWN,
128 HB_SCRIPT_BASSA_VAH,
129 HB_SCRIPT_CAUCASIAN_ALBANIAN,
130 HB_SCRIPT_DUPLOYAN,
131 HB_SCRIPT_ELBASAN,
132 HB_SCRIPT_GRANTHA,
133 HB_SCRIPT_KHOJKI,
134 HB_SCRIPT_KHUDAWADI,
135 HB_SCRIPT_LINEAR_A,
136 HB_SCRIPT_MAHAJANI,
137 HB_SCRIPT_MANICHAEAN,
138 HB_SCRIPT_MENDE_KIKAKUI,
139 HB_SCRIPT_MODI,
140 HB_SCRIPT_MRO,
141 HB_SCRIPT_NABATAEAN,
142 HB_SCRIPT_OLD_NORTH_ARABIAN,
143 HB_SCRIPT_OLD_PERMIC,
144 HB_SCRIPT_PAHAWH_HMONG,
145 HB_SCRIPT_PALMYRENE,
146 HB_SCRIPT_PAU_CIN_HAU,
147 HB_SCRIPT_PSALTER_PAHLAVI,
148 HB_SCRIPT_SIDDHAM,
149 HB_SCRIPT_TIRHUTA,
150 HB_SCRIPT_WARANG_CITI,
128 }; 151 };
129 152
130 static hb_unicode_combining_class_t 153 static hb_unicode_combining_class_t
131 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode, 154 hb_ucdn_combining_class(hb_unicode_funcs_t *ufuncs, hb_codepoint_t unicode,
132 void *user_data HB_UNUSED) 155 void *user_data HB_UNUSED)
133 { 156 {
134 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode); 157 return (hb_unicode_combining_class_t) ucdn_get_combining_class(unicode);
135 } 158 }
136 159
137 static unsigned int 160 static unsigned int
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 { 222 {
200 #define HB_UNICODE_FUNC_IMPLEMENT(name) hb_ucdn_##name, 223 #define HB_UNICODE_FUNC_IMPLEMENT(name) hb_ucdn_##name,
201 HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS 224 HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS
202 #undef HB_UNICODE_FUNC_IMPLEMENT 225 #undef HB_UNICODE_FUNC_IMPLEMENT
203 } 226 }
204 }; 227 };
205 228
206 return const_cast<hb_unicode_funcs_t *> (&_hb_ucdn_unicode_funcs); 229 return const_cast<hb_unicode_funcs_t *> (&_hb_ucdn_unicode_funcs);
207 } 230 }
208 231
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shape-plan.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698