From 3931837bebd79c5eb1bd5b24ff12e2c8e7d3f24c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Aug 2011 17:22:19 -0400 Subject: [PATCH] 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. --- src/hb-view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-view.cc b/src/hb-view.cc index 67070ef..dc3fc47 100644 --- a/src/hb-view.cc +++ b/src/hb-view.cc @@ -370,7 +370,7 @@ _hb_cr_text_glyphs (cairo_t *cr, len = strlen (utf8); hb_buffer_add_utf8 (hb_buffer, utf8, len, 0, len); - hb_shape (hb_font, hb_buffer, features, num_features, NULL, NULL); + hb_shape (hb_font, hb_buffer, features, num_features); num_glyphs = hb_buffer_get_length (hb_buffer); hb_glyph = hb_buffer_get_glyph_infos (hb_buffer, NULL); -- 2.7.4