Change hb_shape() API back to what it was, add hb_shape_full()

I disliked changing hb_shape() API, and disliked the fact that it was
returning a bool now.  So, reverted.  Added new API for the extra
functionality.
This commit is contained in:
Behdad Esfahbod committed 2011-08-05 17:22:19 -04:00
1 parent 02aeca985b
commit 3ca6c4ecc2
4 files changed
+27 -12

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ test_shape (void)
hb_buffer_set_direction (buffer, HB_DIRECTION_LTR);
hb_buffer_add_utf8 (buffer, TesT, 4, 0, 4);
hb_shape (font, buffer, NULL, 0, NULL, NULL);
hb_shape (font, buffer, NULL, 0);
len = hb_buffer_get_length (buffer);
glyphs = hb_buffer_get_glyph_infos (buffer, NULL);