Fixed scaling problem.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9157 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2004-10-02 05:28:13 +00:00
parent 90c9b3ae9a
commit 373fe20212

View File

@ -71,7 +71,7 @@ void PSDriver::setupCTM() {
writeSpoolString("0 %f translate\n", getJobData()->getPaperRect().Height());
// y values increase from top to bottom
// units of measure is dpi
writeSpoolString("72 %d div 72 -%d div scale\n", 2*getJobData()->getXres(), 2*getJobData()->getYres());
writeSpoolString("72 %d div 72 -%d div scale\n", getJobData()->getXres(), getJobData()->getYres());
}
bool PSDriver::endDoc(bool)