Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 517468
Collapse All | Expand All

(-)a/filter/pdftoraster.cxx (-4 / +2 lines)
Lines 444-450 Link Here
444
      }
444
      }
445
    }
445
    }
446
    /* support the "no-color-management" option */
446
    /* support the "no-color-management" option */
447
    if (cupsGetOption("no-color-management", num_options, options) == NULL)
447
    if (cupsGetOption("no-color-management", num_options, options) != NULL)
448
      cm_off = true;
448
      cm_off = true;
449
    if (!cm_off) {
449
    if (!cm_off) {
450
      if (getColorProfilePath(ppd,&profilePath)) {
450
      if (getColorProfilePath(ppd,&profilePath)) {
Lines 1998-2006 Link Here
1998
        pdfError(-1,const_cast<char *>("Can't open raster stream"));
1998
        pdfError(-1,const_cast<char *>("Can't open raster stream"));
1999
	exit(1);
1999
	exit(1);
2000
  }
2000
  }
2001
  if (!cm_off) {
2001
  selectConvertFunc(raster);
2002
    selectConvertFunc(raster);
2003
  }
2004
  for (i = 1;i <= npages;i++) {
2002
  for (i = 1;i <= npages;i++) {
2005
    outPage(doc,catalog,i,out,raster);
2003
    outPage(doc,catalog,i,out,raster);
2006
  }
2004
  }

Return to bug 517468