Commit 5087dc43 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

pango-view: Fix display of char extents

parent 497be71c
Pipeline #334627 failed with stages
in 7 minutes and 55 seconds
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment