| 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 23 matching lines...) Expand all Loading... |
| 34 #include "hb.h" | 34 #include "hb.h" |
| 35 | 35 |
| 36 #include "hb-ot-tag.h" | 36 #include "hb-ot-tag.h" |
| 37 | 37 |
| 38 HB_BEGIN_DECLS | 38 HB_BEGIN_DECLS |
| 39 | 39 |
| 40 | 40 |
| 41 #define HB_OT_TAG_GDEF HB_TAG('G','D','E','F') | 41 #define HB_OT_TAG_GDEF HB_TAG('G','D','E','F') |
| 42 #define HB_OT_TAG_GSUB HB_TAG('G','S','U','B') | 42 #define HB_OT_TAG_GSUB HB_TAG('G','S','U','B') |
| 43 #define HB_OT_TAG_GPOS HB_TAG('G','P','O','S') | 43 #define HB_OT_TAG_GPOS HB_TAG('G','P','O','S') |
| 44 #define HB_OT_TAG_JSTF HB_TAG('J','S','T','F') |
| 44 | 45 |
| 45 | 46 |
| 46 /* | 47 /* |
| 47 * GDEF | 48 * GDEF |
| 48 */ | 49 */ |
| 49 | 50 |
| 50 hb_bool_t | 51 hb_bool_t |
| 51 hb_ot_layout_has_glyph_classes (hb_face_t *face); | 52 hb_ot_layout_has_glyph_classes (hb_face_t *face); |
| 52 | 53 |
| 53 typedef enum { | 54 typedef enum { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 unsigned int *feature_index); | 173 unsigned int *feature_index); |
| 173 | 174 |
| 174 unsigned int | 175 unsigned int |
| 175 hb_ot_layout_feature_get_lookups (hb_face_t *face, | 176 hb_ot_layout_feature_get_lookups (hb_face_t *face, |
| 176 hb_tag_t table_tag, | 177 hb_tag_t table_tag, |
| 177 unsigned int feature_index, | 178 unsigned int feature_index, |
| 178 unsigned int start_offset, | 179 unsigned int start_offset, |
| 179 unsigned int *lookup_count /* IN/OUT */, | 180 unsigned int *lookup_count /* IN/OUT */, |
| 180 unsigned int *lookup_indexes /* OUT */); | 181 unsigned int *lookup_indexes /* OUT */); |
| 181 | 182 |
| 183 unsigned int |
| 184 hb_ot_layout_table_get_lookup_count (hb_face_t *face, |
| 185 hb_tag_t table_tag); |
| 186 |
| 187 |
| 182 void | 188 void |
| 183 hb_ot_layout_collect_lookups (hb_face_t *face, | 189 hb_ot_layout_collect_lookups (hb_face_t *face, |
| 184 hb_tag_t table_tag, | 190 hb_tag_t table_tag, |
| 185 const hb_tag_t *scripts, | 191 const hb_tag_t *scripts, |
| 186 const hb_tag_t *languages, | 192 const hb_tag_t *languages, |
| 187 const hb_tag_t *features, | 193 const hb_tag_t *features, |
| 188 hb_set_t *lookup_indexes /* OUT */); | 194 hb_set_t *lookup_indexes /* OUT */); |
| 189 | 195 |
| 190 void | 196 void |
| 191 hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan, | 197 hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 unsigned int *design_size, /* OUT. May be N
ULL */ | 290 unsigned int *design_size, /* OUT. May be N
ULL */ |
| 285 unsigned int *subfamily_id, /* OUT. May be N
ULL */ | 291 unsigned int *subfamily_id, /* OUT. May be N
ULL */ |
| 286 unsigned int *subfamily_name_id, /* OUT. May be N
ULL */ | 292 unsigned int *subfamily_name_id, /* OUT. May be N
ULL */ |
| 287 unsigned int *range_start, /* OUT. May be N
ULL */ | 293 unsigned int *range_start, /* OUT. May be N
ULL */ |
| 288 unsigned int *range_end /* OUT. May be N
ULL */); | 294 unsigned int *range_end /* OUT. May be N
ULL */); |
| 289 | 295 |
| 290 | 296 |
| 291 HB_END_DECLS | 297 HB_END_DECLS |
| 292 | 298 |
| 293 #endif /* HB_OT_LAYOUT_H */ | 299 #endif /* HB_OT_LAYOUT_H */ |
| OLD | NEW |