| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2014 Google, Inc. | 2 * Copyright © 2014 Google, Inc. |
| 3 * | 3 * |
| 4 * This is part of HarfBuzz, a text shaping library. | 4 * This is part of HarfBuzz, a text shaping library. |
| 5 * | 5 * |
| 6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
| 7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
| 8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
| 9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
| 10 * all copies of this software. | 10 * all copies of this software. |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 OT_USHORT(1) \ | 126 OT_USHORT(1) \ |
| 127 OT_LABEL_END \ | 127 OT_LABEL_END \ |
| 128 OT_UARRAY(Name##Glyphs, OT_LIST(Items)) | 128 OT_UARRAY(Name##Glyphs, OT_LIST(Items)) |
| 129 | 129 |
| 130 | 130 |
| 131 /* | 131 /* |
| 132 * GSUB | 132 * GSUB |
| 133 */ | 133 */ |
| 134 | 134 |
| 135 #define OT_LOOKUP_TYPE_SUBST_SINGLE 1u | 135 #define OT_LOOKUP_TYPE_SUBST_SINGLE 1u |
| 136 #define OT_LOOKUP_TYPE_SUBST_MULTIPLE 2u | |
| 137 #define OT_LOOKUP_TYPE_SUBST_LIGATURE 4u | 136 #define OT_LOOKUP_TYPE_SUBST_LIGATURE 4u |
| 138 | 137 |
| 139 #define OT_SUBLOOKUP_SINGLE_SUBST_FORMAT2(Name, FromGlyphs, ToGlyphs) \ | 138 #define OT_SUBLOOKUP_SINGLE_SUBST_FORMAT2(Name, FromGlyphs, ToGlyphs) \ |
| 140 OT_SUBLOOKUP(Name, 2, \ | 139 OT_SUBLOOKUP(Name, 2, \ |
| 141 OT_OFFSET(Name, Name##Coverage) \ | 140 OT_OFFSET(Name, Name##Coverage) \ |
| 142 OT_LABEL_END \ | 141 OT_LABEL_END \ |
| 143 OT_UARRAY(Name##Substitute, OT_LIST(ToGlyphs)) \ | 142 OT_UARRAY(Name##Substitute, OT_LIST(ToGlyphs)) \ |
| 144 ) \ | 143 ) \ |
| 145 OT_COVERAGE1(Name##Coverage, OT_LIST(FromGlyphs)) \ | 144 OT_COVERAGE1(Name##Coverage, OT_LIST(FromGlyphs)) \ |
| 146 /* ASSERT_STATIC_EXPR len(FromGlyphs) == len(ToGlyphs) */ | 145 /* ASSERT_STATIC_EXPR len(FromGlyphs) == len(ToGlyphs) */ |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 */ | 314 */ |
| 316 #if 0 | 315 #if 0 |
| 317 #include "hb-private.hh" /* Make check-includes.sh happy. */ | 316 #include "hb-private.hh" /* Make check-includes.sh happy. */ |
| 318 #endif | 317 #endif |
| 319 #ifdef OT_MEASURE | 318 #ifdef OT_MEASURE |
| 320 #include "hb-ot-shape-complex-arabic-win1256.hh" | 319 #include "hb-ot-shape-complex-arabic-win1256.hh" |
| 321 #endif | 320 #endif |
| 322 | 321 |
| 323 #define HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH | 322 #define HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH |
| 324 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH */ | 323 #endif /* HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH */ |
| OLD | NEW |