Commit db4fde57 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix misplaced glyphs in gravity east

This was showing up as glyphs placed outside
their logical extents.
parent 24ca0e22
......@@ -169,7 +169,10 @@ pango_hb_font_get_glyph_v_advance (hb_font_t *font,
pango_font_get_glyph_extents (context->font, glyph, NULL, &logical);
return logical.height;
if (hb_font_get_glyph_v_advance (context->parent, glyph) < 0)
return - logical.height;
else
return logical.height;
}
static hb_bool_t
......
Markdown is supported
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