http://bugs.winehq.org/show_bug.cgi?id=12402
Summary: Reversed printing of vertical text using wineps.drv Product: Wine Version: 0.9.58. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv AssignedTo: wine-bugs@winehq.org ReportedBy: kadlecf@fzu.cz
I am using with wine a custom-made program for windows which can produce a page-like output for printing. I use the 'wineps printer using CUPS' for generating postscript. This works, except one feature: whenever the page to be printed contains vertical text from bottom to top, that one will print starting at the right place but from top to bottom.
(If the text is a single letter, it is easy to correct in the output postscript file-the lines 900 10 div matrix rotate can be changed to 900 3.333 div matrix rotate which fixes the problem. However, this simple trick will not work for a longer text.)
The program is custom-made under Virtual Pascal, and the text is printed here using the function CreateFontIndirect. For the screen, it is called with lfEscapement=900; however, for printing, this has to be set to -900 because of reverse y coordinates. It seems that wine is not in line with this convention of Windows...