[PATCH 2/4] gdiplus: Correctly handle UnitDisplay for printer DC.
Ziqing Hui
zhui at codeweavers.com
Fri Jan 15 21:18:04 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>
---
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 | 23 ++++++++++++--------
dlls/gdiplus/tests/graphics.c | 2 --
7 files changed, 68 insertions(+), 49 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gdiplus-Correctly-handle-UnitDisplay-for-printer-DC.patch
Type: text/x-patch
Size: 20097 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210116/01075d9e/attachment-0001.bin>
More information about the wine-devel
mailing list