[cairo-bugs] [Bug 56525] New: Printer output inconsistent, shifted up in Windows

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 29 07:54:45 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=56525

          Priority: medium
            Bug ID: 56525
          Assignee: cairo-bugs at cairographics.org
           Summary: Printer output inconsistent, shifted up in Windows
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: mike at cchtml.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 1.12.6
         Component: win32 backend
           Product: cairo

Created attachment 69233
  --> https://bugs.freedesktop.org/attachment.cgi?id=69233&action=edit
test case

Under Linux and Windows, when I print to PDF or my custom print preview window
my text aligns the way I think it should. When I print to a printer in Linux
the output matches identically with the PDF or print preview.

When I print to the same printer in Windows my text is printed higher than what
is shown on the PDF or print preview window. It prints higher by about 2mm, but
this is enough to cut Arial 10pt text in half if printed at the very top of the
page on a Lexmark laser printer.

If I print the PDF that is generated by Cairo in Windows the printer output is
identical to that of the PDF and the same that I get from printing in Linux.

I have attached a simple test case that replicates the problem. If you run in
it Linux it should print the full word "Test Text" at the top left of the
paper. Under Windows the word will be cut in half.

Linux:
Fedora 17 x86_64
GTK 2.24.13 / Cairo 1.10.2

Windows:
Windows 7 x86_64
GTK 2.24.13 / Cairo 1.10.2 & 1.12.6

Printer:
Lexmark T640

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20121029/e5b4df5f/attachment.html>


More information about the cairo-bugs mailing list