diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2011-02-25 19:49:39 +0000 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2011-02-25 19:49:39 +0000 |
commit | 2912c841eb0d34a1b798debff1ebc2f93c2ab54d (patch) | |
tree | 01401b4aecb8048f466337b4c29437e301b3047b /gs/base/gximono.c | |
parent | dd41a47b5f73ece99e7dfd49a3505fca81a02b3d (diff) |
Fix so that we only do the fast code if we are in portrait or landscape mode. Skewed objects will have to use the rect fill method.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12204 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gximono.c')
-rw-r--r-- | gs/base/gximono.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gs/base/gximono.c b/gs/base/gximono.c index d9e1903fc..e08248870 100644 --- a/gs/base/gximono.c +++ b/gs/base/gximono.c @@ -113,7 +113,8 @@ gs_image_class_3_mono(gx_image_enum * penum) if (use_fast_code && penum->pcs != NULL && penum->dev->color_info.num_components == 1 && penum->dev->color_info.depth == 1 && - penum->bps == 8) { + penum->bps == 8 && (penum->posture == image_portrait + || penum->posture == image_landscape)) { spp_out = penum->dev->color_info.num_components; penum->icc_setup.need_decode = false; /* Check if we need to do any decoding. */ |