| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |