Commit 4801b91f authored by Alexandre Julliard's avatar Alexandre Julliard

wineps: Print a fixme for unhandled composite glyph scaling.

parent af9508a1
......@@ -414,7 +414,7 @@ static BOOL append_complex_glyph(HDC hdc, const BYTE *data, glyph_outline *outli
const BYTE *ptr = data;
WORD flags, index;
short arg1, arg2;
WORD scale_xx = 1, scale_xy = 0, scale_yx = 0, scale_yy = 1;
WORD scale_xx = 1 << 14, scale_xy = 0, scale_yx = 0, scale_yy = 1 << 14;
WORD start_pt, end_pt;
ptr += 10;
......@@ -460,6 +460,11 @@ static BOOL append_complex_glyph(HDC hdc, const BYTE *data, glyph_outline *outli
ptr += 2;
}
if ((flags & (WE_HAVE_A_SCALE | WE_HAVE_AN_X_AND_Y_SCALE | WE_HAVE_A_TWO_BY_TWO)) &&
(scale_xx != 1 << 14 || scale_yy != 1 << 14 || scale_xy || scale_yx))
FIXME( "unhandled scaling %x,%x,%x,%x of glyph %x\n",
scale_xx, scale_xy, scale_yx, scale_yy, index );
start_pt = pts_in_outline(outline);
append_glyph_outline(hdc, index, outline);
end_pt = pts_in_outline(outline);
......
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