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:
parent
b9b3c131c2
commit
d670ddf991
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue