]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Fix the BoundingBox parameter - the upper x and y parameters were transposed.
authorRobert Colquhoun <rjc@trump.net.au>
Fri, 10 Sep 1999 08:48:24 +0000 (08:48 +0000)
committerRobert Colquhoun <rjc@trump.net.au>
Fri, 10 Sep 1999 08:48:24 +0000 (08:48 +0000)
Thanks to John Interrante interran@crd.ge.com for this.

util/TextFmt.c++

index bb891ba4d00008115fb1c15f50a7e7b55338eb9d..36faf65a80f2b63eaf337b59807ec785025aab04 100644 (file)
@@ -514,7 +514,7 @@ TextFmt::emitPrologue(void)
     fprintf(output, "%%%%For: %s\n", cp ? cp : "");
     fputs("%%Origin: 0 0\n", output);
     fprintf(output, "%%%%BoundingBox: 0 0 %.0f %.0f\n",
-       physPageHeight*72, physPageWidth*72);
+       physPageWidth*72, physPageHeight*72);
     fputs("%%Pages: (atend)\n", output);
     fprintf(output, "%%%%PageOrder: %s\n",
        reverse ? "Descend" : "Ascend");