summaryrefslogtreecommitdiff
path: root/pango/glyphstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/glyphstring.c')
-rw-r--r--pango/glyphstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c
index 26b67dd7..9a930a37 100644
--- a/pango/glyphstring.c
+++ b/pango/glyphstring.c
@@ -214,9 +214,9 @@ pango_glyph_string_extents_range (PangoGlyphString *glyphs,
{
logical_rect->width += geometry->width;
- new_pos = MIN (logical_rect->y, glyph_logical.y + geometry->y_offset);
+ new_pos = MIN (logical_rect->y, glyph_logical.y);
logical_rect->height = MAX (logical_rect->y + logical_rect->height,
- glyph_logical.y + glyph_logical.height + geometry->y_offset) - new_pos;
+ glyph_logical.y + glyph_logical.height) - new_pos;
logical_rect->y = new_pos;
}
}