| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2009 Red Hat, Inc. | 2 * Copyright © 2009 Red Hat, Inc. |
| 3 * Copyright © 2012 Google, Inc. | 3 * Copyright © 2012 Google, Inc. |
| 4 * | 4 * |
| 5 * This is part of HarfBuzz, a text shaping library. | 5 * This is part of HarfBuzz, a text shaping library. |
| 6 * | 6 * |
| 7 * Permission is hereby granted, without written agreement and without | 7 * Permission is hereby granted, without written agreement and without |
| 8 * license or royalty fees, to use, copy, modify, and distribute this | 8 * license or royalty fees, to use, copy, modify, and distribute this |
| 9 * software and its documentation for any purpose, provided that the | 9 * software and its documentation for any purpose, provided that the |
| 10 * above copyright notice and the following two paragraphs appear in | 10 * above copyright notice and the following two paragraphs appear in |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 * @font: an #hb_font_t to use for shaping | 387 * @font: an #hb_font_t to use for shaping |
| 388 * @buffer: an #hb_buffer_t to shape | 388 * @buffer: an #hb_buffer_t to shape |
| 389 * @features: (array length=num_features) (allow-none): an array of user | 389 * @features: (array length=num_features) (allow-none): an array of user |
| 390 * specified #hb_feature_t or %NULL | 390 * specified #hb_feature_t or %NULL |
| 391 * @num_features: the length of @features array | 391 * @num_features: the length of @features array |
| 392 * | 392 * |
| 393 * Shapes @buffer using @font turning its Unicode characters content to | 393 * Shapes @buffer using @font turning its Unicode characters content to |
| 394 * positioned glyphs. If @features is not %NULL, it will be used to control the | 394 * positioned glyphs. If @features is not %NULL, it will be used to control the |
| 395 * features applied during shaping. | 395 * features applied during shaping. |
| 396 * | 396 * |
| 397 * Return value: %FALSE if all shapers failed, %TRUE otherwise | |
| 398 * | |
| 399 * Since: 0.9.2 | 397 * Since: 0.9.2 |
| 400 **/ | 398 **/ |
| 401 void | 399 void |
| 402 hb_shape (hb_font_t *font, | 400 hb_shape (hb_font_t *font, |
| 403 hb_buffer_t *buffer, | 401 hb_buffer_t *buffer, |
| 404 const hb_feature_t *features, | 402 const hb_feature_t *features, |
| 405 unsigned int num_features) | 403 unsigned int num_features) |
| 406 { | 404 { |
| 407 hb_shape_full (font, buffer, features, num_features, NULL); | 405 hb_shape_full (font, buffer, features, num_features, NULL); |
| 408 } | 406 } |
| OLD | NEW |