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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 350 |
351 | 351 |
352 /* Misc */ | 352 /* Misc */ |
353 | 353 |
354 #define HB_UNICODE_GENERAL_CATEGORY_IS_MARK(gen_cat) \ | 354 #define HB_UNICODE_GENERAL_CATEGORY_IS_MARK(gen_cat) \ |
355 (FLAG_SAFE (gen_cat) & \ | 355 (FLAG_SAFE (gen_cat) & \ |
356 (FLAG (HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK) | \ | 356 (FLAG (HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK) | \ |
357 FLAG (HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK) | \ | 357 FLAG (HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK) | \ |
358 FLAG (HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK))) | 358 FLAG (HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK))) |
359 | 359 |
360 #define HB_UNICODE_GENERAL_CATEGORY_IS_NON_ENCLOSING_MARK(gen_cat) \ | 360 #define HB_UNICODE_GENERAL_CATEGORY_IS_NON_ENCLOSING_MARK_OR_MODIFIER_SYMBOL(gen
_cat) \ |
361 (FLAG_SAFE (gen_cat) & \ | 361 (FLAG_SAFE (gen_cat) & \ |
362 (FLAG (HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK) | \ | 362 (FLAG (HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK) | \ |
363 » FLAG (HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK))) | 363 » FLAG (HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) | \ |
| 364 » FLAG (HB_UNICODE_GENERAL_CATEGORY_MODIFIER_SYMBOL))) |
364 | 365 |
365 #endif /* HB_UNICODE_PRIVATE_HH */ | 366 #endif /* HB_UNICODE_PRIVATE_HH */ |
OLD | NEW |