mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-26 09:21:06 +01:00
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:
1 parent
02aeca985b
commit
3ca6c4ecc2
4 files changed
+27
-12
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user