diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-09-26 15:37:20 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-09-26 15:37:20 -0400 |
commit | bbec7e8697907a922f80c00b94f54b9b8634d264 (patch) | |
tree | 18c737c4c838199b9e6ca72383afdcd09e874af5 /pango/pango-utils.c | |
parent | 1c151fef87c61e2d329d84d3db59559bffa767fe (diff) | |
download | pango-bbec7e8697907a922f80c00b94f54b9b8634d264.tar.gz |
Add pango_shape_full()
Variant of pango_shape() that takes the full paragraph text as input.
This is then passed in entirety to HarfBuzz, which would allow certain
cross-run interactions (in Arabic for example).
When combined with upcoming HarfBuzz 0.9.5+, this fixes:
Red Hat Bug 858736 - [Spanish] Stray dotted circle rendered
https://bugzilla.redhat.com/show_bug.cgi?id=858736
and partially:
Bug 313181 - color changes break arabic shaping
https://bugzilla.gnome.org/show_bug.cgi?id=313181
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 112bc388..18ffa263 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -1131,7 +1131,7 @@ pango_extents_to_pixels (PangoRectangle *inclusive, void _pango_shape_shape (const char *text, - gint n_chars, + unsigned int n_chars, PangoRectangle *shape_ink G_GNUC_UNUSED, PangoRectangle *shape_logical, PangoGlyphString *glyphs) |