http://bugs.winehq.org/show_bug.cgi?id=19550
Summary: Revolver Office: When printing, font is way too large Product: Wine Version: 1.1.26 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv AssignedTo: wine-bugs@winehq.org ReportedBy: jg@linetco.com
Created an attachment (id=22775) --> (http://bugs.winehq.org/attachment.cgi?id=22775) Trace excerpt using unmodified wine
Summary: When trying to print from Revolver Office 7.0.4, the font chosen is ~ 40k pixels high. This leads many blank (or black) pages being print.
How to Reproduce: Download Revolver Office from http://download.revolver.info/r7/older/revolver_office_7_0_4_win.exe Install it using the default settings. After installing, start it and do the following:
- Country->USA - Single User - Enter some details and choose "Evaluation Mode" - Click "Address-Book" - Select the only entry - Select the printer icon in the toolbar - Print to the CUPS PDF driver
Tested with: Ubuntu 8.10/9.04 32-and 64-bit prepackaged wine Ubuntu 9.04 64-bit wine 1.1.26 from git
Preliminary analysis: Wine downloads the font glyphes correctly into the postscript-file. But the font sizes written to the postscript-file are way too large, resulting in the software positioning the text blocks incorrectly. (See original_trace.txt) The trace is clearer when disabled font embedding by commenting out the check in wineps.drv. ScaleFont then reports a font size of ~40k (see no_download_trace.txt). Problem seems to be in the resolution of the hdc in use, as all numbers seems fine until processed by LPtoDP.
Notes: I would be glad to help in tracking this bug. C-Skills and time is available. XMPP via jgraef@linetco.com possible.