mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:47:16 +00:00
wineps: Print a fixme for unhandled composite glyph scaling.
This commit is contained in:
parent
af9508a13a
commit
4801b91fd6
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue