OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2009 Red Hat, Inc. | 2 * Copyright © 2009 Red Hat, Inc. |
3 * Copyright © 2011 Codethink Limited | 3 * Copyright © 2011 Codethink Limited |
4 * Copyright © 2010,2011,2012 Google, Inc. | 4 * Copyright © 2010,2011,2012 Google, Inc. |
5 * | 5 * |
6 * This is part of HarfBuzz, a text shaping library. | 6 * This is part of HarfBuzz, a text shaping library. |
7 * | 7 * |
8 * Permission is hereby granted, without written agreement and without | 8 * Permission is hereby granted, without written agreement and without |
9 * license or royalty fees, to use, copy, modify, and distribute this | 9 * license or royalty fees, to use, copy, modify, and distribute this |
10 * software and its documentation for any purpose, provided that the | 10 * software and its documentation for any purpose, provided that the |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 | 127 |
128 hb_unicode_funcs_t * | 128 hb_unicode_funcs_t * |
129 hb_unicode_funcs_get_default (void) | 129 hb_unicode_funcs_get_default (void) |
130 { | 130 { |
131 #define HB_UNICODE_FUNCS_IMPLEMENT(set) \ | 131 #define HB_UNICODE_FUNCS_IMPLEMENT(set) \ |
132 return hb_##set##_get_unicode_funcs (); | 132 return hb_##set##_get_unicode_funcs (); |
133 | 133 |
134 #ifdef HAVE_GLIB | 134 #ifdef HAVE_GLIB |
135 HB_UNICODE_FUNCS_IMPLEMENT(glib) | 135 HB_UNICODE_FUNCS_IMPLEMENT(glib) |
136 #elif defined(HAVE_ICU) | 136 #elif defined(HAVE_ICU) && defined(HAVE_ICU_BUILTIN) |
137 HB_UNICODE_FUNCS_IMPLEMENT(icu) | 137 HB_UNICODE_FUNCS_IMPLEMENT(icu) |
138 #elif defined(HAVE_UCDN) | 138 #elif defined(HAVE_UCDN) |
139 HB_UNICODE_FUNCS_IMPLEMENT(ucdn) | 139 HB_UNICODE_FUNCS_IMPLEMENT(ucdn) |
140 #else | 140 #else |
141 #define HB_UNICODE_FUNCS_NIL 1 | 141 #define HB_UNICODE_FUNCS_NIL 1 |
142 HB_UNICODE_FUNCS_IMPLEMENT(nil) | 142 HB_UNICODE_FUNCS_IMPLEMENT(nil) |
143 #endif | 143 #endif |
144 | 144 |
145 #undef HB_UNICODE_FUNCS_IMPLEMENT | 145 #undef HB_UNICODE_FUNCS_IMPLEMENT |
146 } | 146 } |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 230, /* HB_UNICODE_COMBINING_CLASS_ABOVE */ | 554 230, /* HB_UNICODE_COMBINING_CLASS_ABOVE */ |
555 231, | 555 231, |
556 232, /* HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT */ | 556 232, /* HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT */ |
557 233, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW */ | 557 233, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW */ |
558 234, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE */ | 558 234, /* HB_UNICODE_COMBINING_CLASS_DOUBLE_ABOVE */ |
559 235, 236, 237, 238, 239, | 559 235, 236, 237, 238, 239, |
560 240, /* HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT */ | 560 240, /* HB_UNICODE_COMBINING_CLASS_IOTA_SUBSCRIPT */ |
561 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, | 561 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, |
562 255, /* HB_UNICODE_COMBINING_CLASS_INVALID */ | 562 255, /* HB_UNICODE_COMBINING_CLASS_INVALID */ |
563 }; | 563 }; |
OLD | NEW |