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

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

Issue 70193010: Update harfbuzz-ng to 0.9.24 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-blob.cc ('k') | third_party/harfbuzz-ng/src/hb-buffer.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 © 1998-2004 David Turner and Werner Lemberg 2 * Copyright © 1998-2004 David Turner and Werner Lemberg
3 * Copyright © 2004,2007,2009 Red Hat, Inc. 3 * Copyright © 2004,2007,2009 Red Hat, Inc.
4 * Copyright © 2011,2012 Google, Inc. 4 * Copyright © 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 const hb_segment_properties_t *props); 164 const hb_segment_properties_t *props);
165 165
166 void 166 void
167 hb_buffer_get_segment_properties (hb_buffer_t *buffer, 167 hb_buffer_get_segment_properties (hb_buffer_t *buffer,
168 hb_segment_properties_t *props); 168 hb_segment_properties_t *props);
169 169
170 void 170 void
171 hb_buffer_guess_segment_properties (hb_buffer_t *buffer); 171 hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
172 172
173 173
174 typedef enum { 174 typedef enum { /*< flags >*/
175 HB_BUFFER_FLAGS_DEFAULT» » » = 0x00000000, 175 HB_BUFFER_FLAG_DEFAULT» » » = 0x00000000u,
176 HB_BUFFER_FLAG_BOT» » » » = 0x00000001, /* Beginning-of-te xt */ 176 HB_BUFFER_FLAG_BOT» » » » = 0x00000001u, /* Beginning-of-t ext */
177 HB_BUFFER_FLAG_EOT» » » » = 0x00000002, /* End-of-text */ 177 HB_BUFFER_FLAG_EOT» » » » = 0x00000002u, /* End-of-text */
178 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES» = 0x00000004 178 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES» = 0x00000004u
179 } hb_buffer_flags_t; 179 } hb_buffer_flags_t;
180 180
181 void 181 void
182 hb_buffer_set_flags (hb_buffer_t *buffer, 182 hb_buffer_set_flags (hb_buffer_t *buffer,
183 hb_buffer_flags_t flags); 183 hb_buffer_flags_t flags);
184 184
185 hb_buffer_flags_t 185 hb_buffer_flags_t
186 hb_buffer_get_flags (hb_buffer_t *buffer); 186 hb_buffer_get_flags (hb_buffer_t *buffer);
187 187
188 188
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 * The resulting clusters should behave identical to pre-reordering clusters. 267 * The resulting clusters should behave identical to pre-reordering clusters.
268 * NOTE: This has nothing to do with Unicode normalization. */ 268 * NOTE: This has nothing to do with Unicode normalization. */
269 void 269 void
270 hb_buffer_normalize_glyphs (hb_buffer_t *buffer); 270 hb_buffer_normalize_glyphs (hb_buffer_t *buffer);
271 271
272 272
273 /* 273 /*
274 * Serialize 274 * Serialize
275 */ 275 */
276 276
277 typedef enum { 277 typedef enum { /*< flags >*/
278 HB_BUFFER_SERIALIZE_FLAGS_DEFAULT» » = 0x00000000, 278 HB_BUFFER_SERIALIZE_FLAG_DEFAULT» » = 0x00000000u,
279 HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS» » = 0x00000001, 279 HB_BUFFER_SERIALIZE_FLAG_NO_CLUSTERS» » = 0x00000001u,
280 HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS»» = 0x00000002, 280 HB_BUFFER_SERIALIZE_FLAG_NO_POSITIONS»» = 0x00000002u,
281 HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES» = 0x00000004 281 HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES» = 0x00000004u
282 } hb_buffer_serialize_flags_t; 282 } hb_buffer_serialize_flags_t;
283 283
284 typedef enum { 284 typedef enum {
285 HB_BUFFER_SERIALIZE_FORMAT_TEXT = HB_TAG('T','E','X','T'), 285 HB_BUFFER_SERIALIZE_FORMAT_TEXT = HB_TAG('T','E','X','T'),
286 HB_BUFFER_SERIALIZE_FORMAT_JSON = HB_TAG('J','S','O','N'), 286 HB_BUFFER_SERIALIZE_FORMAT_JSON = HB_TAG('J','S','O','N'),
287 HB_BUFFER_SERIALIZE_FORMAT_INVALID = HB_TAG_NONE 287 HB_BUFFER_SERIALIZE_FORMAT_INVALID = HB_TAG_NONE
288 } hb_buffer_serialize_format_t; 288 } hb_buffer_serialize_format_t;
289 289
290 /* len=-1 means str is NUL-terminated. */ 290 /* len=-1 means str is NUL-terminated. */
291 hb_buffer_serialize_format_t 291 hb_buffer_serialize_format_t
(...skipping 22 matching lines...) Expand all
314 const char *buf, 314 const char *buf,
315 int buf_len, /* -1 means nul-terminated */ 315 int buf_len, /* -1 means nul-terminated */
316 const char **end_ptr, /* May be NULL */ 316 const char **end_ptr, /* May be NULL */
317 hb_font_t *font, /* May be NULL */ 317 hb_font_t *font, /* May be NULL */
318 hb_buffer_serialize_format_t format); 318 hb_buffer_serialize_format_t format);
319 319
320 320
321 HB_END_DECLS 321 HB_END_DECLS
322 322
323 #endif /* HB_BUFFER_H */ 323 #endif /* HB_BUFFER_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-blob.cc ('k') | third_party/harfbuzz-ng/src/hb-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698