diff options
Diffstat (limited to 'pango')
-rw-r--r-- | pango/glyphstring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c index e28abbd0..1d2c261b 100644 --- a/pango/glyphstring.c +++ b/pango/glyphstring.c @@ -197,9 +197,9 @@ pango_glyph_string_extents_range (PangoGlyphString *glyphs, { if (ink_rect->width == 0 || ink_rect->height == 0) { - ink_rect->x = x_pos + glyph_ink.x; + ink_rect->x = x_pos + glyph_ink.x + geometry->x_offset; ink_rect->width = glyph_ink.width; - ink_rect->y = glyph_ink.y; + ink_rect->y = glyph_ink.y + geometry->y_offset; ink_rect->height = glyph_ink.height; } else |