Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-layout.h

Issue 2622553002: Roll HarfBuzz to 1.4.1 (Closed)
Patch Set: Linux rebaselines Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-font.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-layout.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 0xFFFFu 95 #define HB_OT_LAYOUT_NO_SCRIPT_INDEX 0xFFFFu
96 #define HB_OT_LAYOUT_NO_FEATURE_INDEX 0xFFFFu 96 #define HB_OT_LAYOUT_NO_FEATURE_INDEX 0xFFFFu
97 #define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu 97 #define HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX 0xFFFFu
98 #define HB_OT_LAYOUT_NO_VARIATIONS_INDEX 0xFFFFFFFFu
98 99
99 HB_EXTERN unsigned int 100 HB_EXTERN unsigned int
100 hb_ot_layout_table_get_script_tags (hb_face_t *face, 101 hb_ot_layout_table_get_script_tags (hb_face_t *face,
101 hb_tag_t table_tag, 102 hb_tag_t table_tag,
102 unsigned int start_offset, 103 unsigned int start_offset,
103 unsigned int *script_count /* IN/OUT */, 104 unsigned int *script_count /* IN/OUT */,
104 hb_tag_t *script_tags /* OUT */); 105 hb_tag_t *script_tags /* OUT */);
105 106
106 HB_EXTERN hb_bool_t 107 HB_EXTERN hb_bool_t
107 hb_ot_layout_table_find_script (hb_face_t *face, 108 hb_ot_layout_table_find_script (hb_face_t *face,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 void *user_data); 230 void *user_data);
230 231
231 HB_EXTERN void 232 HB_EXTERN void
232 Xhb_ot_layout_lookup_enumerate_sequences (hb_face_t *face, 233 Xhb_ot_layout_lookup_enumerate_sequences (hb_face_t *face,
233 hb_tag_t table_tag, 234 hb_tag_t table_tag,
234 unsigned int lookup_index, 235 unsigned int lookup_index,
235 hb_ot_layout_glyph_sequence_func_t call back, 236 hb_ot_layout_glyph_sequence_func_t call back,
236 void *user_data); 237 void *user_data);
237 #endif 238 #endif
238 239
240 /* Variations support */
241
242 HB_EXTERN hb_bool_t
243 hb_ot_layout_table_find_feature_variations (hb_face_t *face,
244 hb_tag_t table_tag,
245 const int *coords,
246 unsigned int num_coords,
247 unsigned int *variations_index /* ou t */);
248
249 HB_EXTERN unsigned int
250 hb_ot_layout_feature_with_variations_get_lookups (hb_face_t *face,
251 hb_tag_t table_tag,
252 unsigned int feature_index,
253 unsigned int variations_index ,
254 unsigned int start_offset,
255 unsigned int *lookup_count /* IN/OUT */,
256 unsigned int *lookup_indexes / * OUT */);
257
239 258
240 /* 259 /*
241 * GSUB 260 * GSUB
242 */ 261 */
243 262
244 HB_EXTERN hb_bool_t 263 HB_EXTERN hb_bool_t
245 hb_ot_layout_has_substitution (hb_face_t *face); 264 hb_ot_layout_has_substitution (hb_face_t *face);
246 265
247 HB_EXTERN hb_bool_t 266 HB_EXTERN hb_bool_t
248 hb_ot_layout_lookup_would_substitute (hb_face_t *face, 267 hb_ot_layout_lookup_would_substitute (hb_face_t *face,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 unsigned int *design_size, /* OUT. May be N ULL */ 312 unsigned int *design_size, /* OUT. May be N ULL */
294 unsigned int *subfamily_id, /* OUT. May be N ULL */ 313 unsigned int *subfamily_id, /* OUT. May be N ULL */
295 unsigned int *subfamily_name_id, /* OUT. May be N ULL */ 314 unsigned int *subfamily_name_id, /* OUT. May be N ULL */
296 unsigned int *range_start, /* OUT. May be N ULL */ 315 unsigned int *range_start, /* OUT. May be N ULL */
297 unsigned int *range_end /* OUT. May be N ULL */); 316 unsigned int *range_end /* OUT. May be N ULL */);
298 317
299 318
300 HB_END_DECLS 319 HB_END_DECLS
301 320
302 #endif /* HB_OT_LAYOUT_H */ 321 #endif /* HB_OT_LAYOUT_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-font.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698