http://bugs.winehq.org/show_bug.cgi?id=58938
Bug ID: 58938 Summary: Japanese vertical text is printed slightly higher when using SetMapMode with MM_LOMETRIC Product: Wine Version: 10.18 Hardware: aarch64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv Assignee: wine-bugs@list.winehq.org Reporter: ssnffb30@gmail.com
Created attachment 79633 --> http://bugs.winehq.org/attachment.cgi?id=79633 A simple test tool(contains source code + compiled EXE)
This is a simple test tool that prints "あいうえお、かきくけこ" vertically and "Hello World!" horizontally.
The horizontal text is printed in the correct position, while the vertical text is shifted upward when MapMode is set to MM_LOMETRIC. The issue does not appear when using MM_TEXT (with setting lfEscapement=2700).
* Steps to Reproduce: 1. Run winetricks fakejapanese_ipamona 2. Launch the provided test tool vertical-print-test.exe 3. Press the Print button(You can print to a virtual printer for convenience)
This issue is expected to occur on Linux as well.
For macOS users: note that PostScript printing is no longer supported on macOS Sonoma or later. Use Ventura/Monterey if testing on macOS.
http://bugs.winehq.org/show_bug.cgi?id=58938
--- Comment #1 from ssnffb30 ssnffb30@gmail.com --- Created attachment 79634 --> http://bugs.winehq.org/attachment.cgi?id=79634 Screenshot: comparison before/after printing
http://bugs.winehq.org/show_bug.cgi?id=58938
--- Comment #2 from ssnffb30 ssnffb30@gmail.com --- Created attachment 79635 --> http://bugs.winehq.org/attachment.cgi?id=79635 wineps.drv: Flips vertical text offset sign when the Y axis is inverted
This patch checks the world transform (xform.eM22) and flips the offset sign when the Y axis is inverted. This change seems to allow vertical text to print in the correct position in both MM_TEXT and MM_LOMETRIC map modes.
I hope this helps reproduce and resolve the issue.
http://bugs.winehq.org/show_bug.cgi?id=58938
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #3 from Vijay Kamuju infyquest@gmail.com --- Can you please send the patch via gitlab with your real name so that it can included in next release
http://bugs.winehq.org/show_bug.cgi?id=58938
--- Comment #4 from ssnffb30 ssnffb30@gmail.com --- Thank you for your response. I'd like to take some time to consider it before deciding how to proceed.
http://bugs.winehq.org/show_bug.cgi?id=58938
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om