[gs-commits] rev 10920 - trunk/ghostpdl/pxl
henrys at ghostscript.com
henrys at ghostscript.com
Sat Mar 13 05:16:29 UTC 2010
Author: henrys
Date: 2010-03-13 05:16:28 +0000 (Sat, 13 Mar 2010)
New Revision: 10920
Modified:
trunk/ghostpdl/pxl/pxgstate.c
Log:
Fixes PCL XL FTS 3.0 T333.BIN panel 01. The rectangles were not
scaled correctly because the unit conversion table was accessed
improperly, the row and column were transposed.
Modified: trunk/ghostpdl/pxl/pxgstate.c
===================================================================
--- trunk/ghostpdl/pxl/pxgstate.c 2010-03-12 05:28:25 UTC (rev 10919)
+++ trunk/ghostpdl/pxl/pxgstate.c 2010-03-13 05:16:28 UTC (rev 10920)
@@ -1030,7 +1030,7 @@
/* new measure */
pxeMeasure_t mt = par->pv[1]->value.i;
/* convert to session units */
- real factor = units_conversion_table[mt][pxs->measure];
+ real factor = units_conversion_table[pxs->measure][mt];
real sux = nux * factor;
real suy = nuy * factor;
sx = pxs->units_per_measure.x / sux;
More information about the gs-commits
mailing list