summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2010-06-03 22:24:49 +0000
committerMichael Vrhel <michael.vrhel@artifex.com>2010-06-03 22:24:49 +0000
commitc7706be452db59236fc49e19b7ff8f0025c0f8ac (patch)
tree67f0646b3915c7132fd0b46f83e5e0ba9f01eb8a /main
parenta3da40c12daad4f8a6bb961d3c323e07fa544c88 (diff)
Fix for crashes when handling fts_27xx.xps.
Normally the xps code always uses image interpolation when rendering images. The interpolation code does not currently handle rotations of images however. In this file, the image was rotated and was 16bpp indexed data. Normally this should end up using the 16 bit image rendering code. Unfortunately psl2lib.dev, which contains the methods for handling 16bit image data without interpolation was not included in the xps/pcl build so it was reverting to image_render_mono, which is not designed for handling 16bit data. The 16bit image rendering code is going to be rewritten soon to handle the data in a more efficient manner, avoid the many data type conversions and make it ICC based. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11353 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'main')
-rw-r--r--main/pcl6_gcc.mak2
-rw-r--r--main/pcl6_msvc.mak1
2 files changed, 2 insertions, 1 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak
index 1dc94f06e..c1e5983e7 100644
--- a/main/pcl6_gcc.mak
+++ b/main/pcl6_gcc.mak
@@ -209,7 +209,7 @@ FEATURE_DEVS?=$(DD)colimlib.dev $(DD)dps2lib.dev $(DD)path1lib.dev\
$(DD)gxfapiu$(UFST_BRIDGE).dev\
$(DD)ttflib.dev $(DD)cielib.dev $(DD)pipe.dev $(DD)htxlib.dev\
$(DD)gsnogc.dev $(DD)sdctd.dev $(DD)libpng_$(SHARE_LIBPNG).dev\
- $(DD)psl3lib.dev $(DD)seprlib.dev $(DD)translib.dev\
+ $(DD)psl3lib.dev $(DD)seprlib.dev $(DD)translib.dev $(DD)psl2lib.dev\
$(DD)cidlib.dev $(DD)psf0lib.dev $(DD)psf1lib.dev $(DD)psf2lib.dev\
$(DD)lzwd.dev
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak
index db6f12a2c..c7f04d8c2 100644
--- a/main/pcl6_msvc.mak
+++ b/main/pcl6_msvc.mak
@@ -365,6 +365,7 @@ FEATURE_DEVS = $(DD)\dps2lib.dev \
$(DD)\cielib.dev \
$(DD)\htxlib.dev \
$(DD)\psl3lib.dev \
+ $(DD)\psl2lib.dev \
$(DD)\libpng_$(SHARE_LIBPNG).dev \
$(DD)\seprlib.dev \
$(DD)\translib.dev \