Sign convention for y offsets is opposite between PangoGlyphString and FT

Sat Feb 21 09:49:23 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
        Sign convention for y offsets is opposite between
        PangoGlyphString and FT code. (#132591)
This commit is contained in:
Owen Taylor 2004-02-21 14:53:12 +00:00 committed by Owen Taylor
parent b9b3c131c2
commit d670ddf991
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ pango_ot_ruleset_shape (PangoOTRuleset *ruleset,
glyphs->glyphs[i].geometry.x_offset -= glyphs->glyphs[j].geometry.width;
glyphs->glyphs[i].geometry.x_offset += PANGO_UNITS_26_6(x_pos);
glyphs->glyphs[i].geometry.y_offset += PANGO_UNITS_26_6(y_pos);
glyphs->glyphs[i].geometry.y_offset -= PANGO_UNITS_26_6(y_pos);
if (outgpos[i].new_advance)
glyphs->glyphs[i].geometry.width = PANGO_UNITS_26_6(outgpos[i].x_advance);