<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Printer output inconsistent, shifted up in Windows"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56525">56525</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>cairo-bugs@cairographics.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Printer output inconsistent, shifted up in Windows
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mike@cchtml.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.12.6
</td>
</tr>
<tr>
<th>Component</th>
<td>win32 backend
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=69233" name="attach_69233" title="test case">attachment 69233</a> <a href="attachment.cgi?id=69233&action=edit" title="test case">[details]</a></span>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>