[PATCH v2 1/3] gdiplus: Correctly handle UnitDisplay for printer DC.
Ziqing Hui
zhui at codeweavers.com
Tue Jan 19 20:24:10 CST 2021
For printer DC, UnitDisplay specifies that a unit is 1/100 inch,
which is different from display DC.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=17848
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
v2: Correctly check the bit of EmfPlusFlags.
dlls/gdiplus/font.c | 12 +++++------
dlls/gdiplus/gdiplus.c | 22 +++++++++++++-------
dlls/gdiplus/gdiplus_private.h | 8 ++++---
dlls/gdiplus/graphics.c | 38 ++++++++++++++++++----------------
dlls/gdiplus/image.c | 12 +++++++----
dlls/gdiplus/metafile.c | 25 ++++++++++++++--------
dlls/gdiplus/tests/graphics.c | 2 --
7 files changed, 70 insertions(+), 49 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdiplus-Correctly-handle-UnitDisplay-for-printer-DC.patch
Type: text/x-patch
Size: 20280 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210120/d0e604d7/attachment.bin>
More information about the wine-devel
mailing list