<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Scale-to arguments not working in some cases"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94655#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Scale-to arguments not working in some cases"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94655">bug 94655</a>
from <span class="vcard"><a class="email" href="mailto:jason@aquaticape.us" title="Jason Crain <jason@aquaticape.us>"> <span class="fn">Jason Crain</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=122599" name="attach_122599" title="Calculate rotation before scaling">attachment 122599</a> <a href="attachment.cgi?id=122599&action=edit" title="Calculate rotation before scaling">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=94655&attachment=122599'>[review]</a>
Calculate rotation before scaling
(In reply to Stephen E. from <a href="show_bug.cgi?id=94655#c0">comment #0</a>)
<span class="quote">> I have encountered some strange PDF files which seem to cause pdftocairo and
> pdftoppm to scale incorrectly with the -scale-to-x and -scale-to-y CLI
> arguments.</span >
PDF's page rotation is screwing up the scale calculation. PDF specifies
/Rotate 270. Attached patch fixes it by moving the scale calculation to after
the rotation calculation.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>