| OLD | NEW |
| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 unsigned int item_offset, | 246 unsigned int item_offset, |
| 247 int item_length); | 247 int item_length); |
| 248 | 248 |
| 249 void | 249 void |
| 250 hb_buffer_add_utf32 (hb_buffer_t *buffer, | 250 hb_buffer_add_utf32 (hb_buffer_t *buffer, |
| 251 const uint32_t *text, | 251 const uint32_t *text, |
| 252 int text_length, | 252 int text_length, |
| 253 unsigned int item_offset, | 253 unsigned int item_offset, |
| 254 int item_length); | 254 int item_length); |
| 255 | 255 |
| 256 /* Allows only access to first 256 Unicode codepoints. */ |
| 257 void |
| 258 hb_buffer_add_latin1 (hb_buffer_t *buffer, |
| 259 const uint8_t *text, |
| 260 int text_length, |
| 261 unsigned int item_offset, |
| 262 int item_length); |
| 263 |
| 256 /* Like add_utf32 but does NOT check for invalid Unicode codepoints. */ | 264 /* Like add_utf32 but does NOT check for invalid Unicode codepoints. */ |
| 257 void | 265 void |
| 258 hb_buffer_add_codepoints (hb_buffer_t *buffer, | 266 hb_buffer_add_codepoints (hb_buffer_t *buffer, |
| 259 const hb_codepoint_t *text, | 267 const hb_codepoint_t *text, |
| 260 int text_length, | 268 int text_length, |
| 261 unsigned int item_offset, | 269 unsigned int item_offset, |
| 262 int item_length); | 270 int item_length); |
| 263 | 271 |
| 264 | 272 |
| 265 /* Clears any new items added at the end */ | 273 /* Clears any new items added at the end */ |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 const char *buf, | 343 const char *buf, |
| 336 int buf_len, /* -1 means nul-terminated */ | 344 int buf_len, /* -1 means nul-terminated */ |
| 337 const char **end_ptr, /* May be NULL */ | 345 const char **end_ptr, /* May be NULL */ |
| 338 hb_font_t *font, /* May be NULL */ | 346 hb_font_t *font, /* May be NULL */ |
| 339 hb_buffer_serialize_format_t format); | 347 hb_buffer_serialize_format_t format); |
| 340 | 348 |
| 341 | 349 |
| 342 HB_END_DECLS | 350 HB_END_DECLS |
| 343 | 351 |
| 344 #endif /* HB_BUFFER_H */ | 352 #endif /* HB_BUFFER_H */ |
| OLD | NEW |