[Bug 12402] New: Reversed printing of vertical text using wineps.drv

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 7 08:21:52 CDT 2008


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 at winehq.org
        ReportedBy: kadlecf at 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...


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list