-
Andrew Eikum authored
The Chrome browser print function implements their own handling for EMR_MODIFYWORLDTRANSFORM which calls ModifyWorldTransform on the HDC directly without ever calling PlayEnhMetaFileRecord. In Wine, this transformation would get discarded when the callback function returned, causing the page to be printed at the wrong scale. Tests show that the transform is updated immediately during PlayEnhMetaFileRecord. In addition, a modified transform persists between callbacks until PlayEnhMetaFileRecord is called on a relevant type of callback, at which point the transform is reverted before playing back the record. Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
083e61fd
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.in | ||
bitmap.c | ||
brush.c | ||
clipping.c | ||
dc.c | ||
dib.c | ||
font.c | ||
gdiobj.c | ||
generated.c | ||
icm.c | ||
mapping.c | ||
metafile.c | ||
palette.c | ||
path.c | ||
pen.c | ||
resource.rc | ||
vertical.sfd | ||
vertical.ttf | ||
wine_test.sfd | ||
wine_test.ttf | ||
wine_vdmx.sfd | ||
wine_vdmx.ttf |