| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2007,2008,2009 Red Hat, Inc. | 2 * Copyright © 2007,2008,2009 Red Hat, 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 hb_codepoint_t glyph, | 85 hb_codepoint_t glyph, |
| 86 unsigned int start_offset, | 86 unsigned int start_offset, |
| 87 unsigned int *caret_count /* IN/OUT */, | 87 unsigned int *caret_count /* IN/OUT */, |
| 88 hb_position_t *caret_array /* OUT */); | 88 hb_position_t *caret_array /* OUT */); |
| 89 | 89 |
| 90 | 90 |
| 91 /* | 91 /* |
| 92 * GSUB/GPOS feature query and enumeration interface | 92 * GSUB/GPOS feature query and enumeration interface |
| 93 */ | 93 */ |
| 94 | 94 |
| 95 #define HB_OT_LAYOUT_NO_SCRIPT_INDEX» » ((unsigned int) 0xFFFF) | 95 #define HB_OT_LAYOUT_NO_SCRIPT_INDEX» » 0xFFFFu |
| 96 #define HB_OT_LAYOUT_NO_FEATURE_INDEX» » ((unsigned int) 0xFFFF) | 96 #define HB_OT_LAYOUT_NO_FEATURE_INDEX» » 0xFFFFu |
| 97 #define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX» ((unsigned int) 0xFFFF) | 97 #define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX» 0xFFFFu |
| 98 | 98 |
| 99 unsigned int | 99 unsigned int |
| 100 hb_ot_layout_table_get_script_tags (hb_face_t *face, | 100 hb_ot_layout_table_get_script_tags (hb_face_t *face, |
| 101 hb_tag_t table_tag, | 101 hb_tag_t table_tag, |
| 102 unsigned int start_offset, | 102 unsigned int start_offset, |
| 103 unsigned int *script_count /* IN/OUT */, | 103 unsigned int *script_count /* IN/OUT */, |
| 104 hb_tag_t *script_tags /* OUT */); | 104 hb_tag_t *script_tags /* OUT */); |
| 105 | 105 |
| 106 hb_bool_t | 106 hb_bool_t |
| 107 hb_ot_layout_table_find_script (hb_face_t *face, | 107 hb_ot_layout_table_find_script (hb_face_t *face, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 hb_tag_t language_tag, | 139 hb_tag_t language_tag, |
| 140 unsigned int *language_index); | 140 unsigned int *language_index); |
| 141 | 141 |
| 142 hb_bool_t | 142 hb_bool_t |
| 143 hb_ot_layout_language_get_required_feature_index (hb_face_t *face, | 143 hb_ot_layout_language_get_required_feature_index (hb_face_t *face, |
| 144 hb_tag_t table_tag, | 144 hb_tag_t table_tag, |
| 145 unsigned int script_index, | 145 unsigned int script_index, |
| 146 unsigned int language_index, | 146 unsigned int language_index, |
| 147 unsigned int *feature_index); | 147 unsigned int *feature_index); |
| 148 | 148 |
| 149 hb_bool_t |
| 150 hb_ot_layout_language_get_required_feature (hb_face_t *face, |
| 151 hb_tag_t table_tag, |
| 152 unsigned int script_index, |
| 153 unsigned int language_index, |
| 154 unsigned int *feature_index, |
| 155 hb_tag_t *feature_tag); |
| 156 |
| 149 unsigned int | 157 unsigned int |
| 150 hb_ot_layout_language_get_feature_indexes (hb_face_t *face, | 158 hb_ot_layout_language_get_feature_indexes (hb_face_t *face, |
| 151 hb_tag_t table_tag, | 159 hb_tag_t table_tag, |
| 152 unsigned int script_index, | 160 unsigned int script_index, |
| 153 unsigned int language_index, | 161 unsigned int language_index, |
| 154 unsigned int start_offset, | 162 unsigned int start_offset, |
| 155 unsigned int *feature_count /* IN/OUT
*/, | 163 unsigned int *feature_count /* IN/OUT
*/, |
| 156 unsigned int *feature_indexes /* OUT
*/); | 164 unsigned int *feature_indexes /* OUT
*/); |
| 157 | 165 |
| 158 unsigned int | 166 unsigned int |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 unsigned int *design_size, /* OUT. May be N
ULL */ | 293 unsigned int *design_size, /* OUT. May be N
ULL */ |
| 286 unsigned int *subfamily_id, /* OUT. May be N
ULL */ | 294 unsigned int *subfamily_id, /* OUT. May be N
ULL */ |
| 287 unsigned int *subfamily_name_id, /* OUT. May be N
ULL */ | 295 unsigned int *subfamily_name_id, /* OUT. May be N
ULL */ |
| 288 unsigned int *range_start, /* OUT. May be N
ULL */ | 296 unsigned int *range_start, /* OUT. May be N
ULL */ |
| 289 unsigned int *range_end /* OUT. May be N
ULL */); | 297 unsigned int *range_end /* OUT. May be N
ULL */); |
| 290 | 298 |
| 291 | 299 |
| 292 HB_END_DECLS | 300 HB_END_DECLS |
| 293 | 301 |
| 294 #endif /* HB_OT_LAYOUT_H */ | 302 #endif /* HB_OT_LAYOUT_H */ |
| OLD | NEW |