~ubuntu-branches/ubuntu/utopic/ghostscript/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/patches/020140331-8ae4ee2-fixes-pxl-segfault-with-trying-to-set-up-icc-transform-for-bitmasks.patch

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2014-03-31 18:24:33 UTC
  • Revision ID: package-import@ubuntu.com-20140331182433-h4hi1ud2b70gu2jj
Tags: 9.10~dfsg-0ubuntu10
* debian/patches/1001_pxlcolor-support-jpeg-in-output.patch,
  debian/patches/020140331-4b44b41-pxlcolor-support-jpeg-in-output.patch:
  Replaced preliminary patch by what got actually committed upstream
  (Upstream bug #691880).
* debian/patches/020140331-41ab485-pxl-transform-deep-images-with-icc-transform-to-emit-high-level-images.patch,
  debian/patches/020140331-8ae4ee2-fixes-pxl-segfault-with-trying-to-set-up-icc-transform-for-bitmasks.patch:
  Transform deep (24-bit) images with an ICC transform to emit high-level
  images (Upstream bug #691880).
* debian/patches/1002_pxl-make-dicctransform-default.patch: Make deep iamge
  ICC transform default (Upstream bug #695124).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/devices/vector/gdevpx.c
 
2
+++ b/devices/vector/gdevpx.c
 
3
@@ -2068,7 +2068,7 @@
 
4
     pie->rows.num_rows = num_rows;
 
5
     pie->rows.first_y = 0;
 
6
     pie->rows.raster = row_raster;
 
7
-    if (!pclxl_can_handle_color_space(pcs)
 
8
+    if (!pim->ImageMask && !pclxl_can_handle_color_space(pcs)
 
9
        && pclxl_can_icctransform(pim) && pcs->cmm_icc_profile_data) {
 
10
        gsicc_rendering_param_t rendering_params;
 
11