summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/viewer-pangocairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/viewer-pangocairo.c b/utils/viewer-pangocairo.c
index 9c69647b..981b9317 100644
--- a/utils/viewer-pangocairo.c
+++ b/utils/viewer-pangocairo.c
@@ -424,7 +424,7 @@ render_callback (PangoLayout *layout,
{
PangoRectangle rect;
- pango_layout_iter_get_cluster_extents (iter, NULL, &rect);
+ pango_layout_iter_get_char_extents (iter, &rect);
cairo_rectangle (cr,
(double)rect.x / PANGO_SCALE - lw / 2,
(double)rect.y / PANGO_SCALE - lw / 2,