r14007 by jghali - #8424: Pure CMYK black (0, 0, 0, 100) is outputted incorrectly in PS when color profiles are applied (forgot to apply patch to 1.3.6svn)
scribus-commit
scribus-commit at lists.scribus.net
Mon Sep 21 01:30:45 CEST 2009
Revision: 14007
Author: jghali
Date: 2009-09-20T23:31:47.564922Z
Commit message: #8424: Pure CMYK black (0,0,0,100) is outputted incorrectly in PS when color profiles are applied (forgot to apply patch to 1.3.6svn)
Changeset:
M /branches/Version135/Scribus/scribus/pslib.cpp
Diffs:
Index: scribus/pslib.cpp
===================================================================
--- scribus/pslib.cpp (revision 14006)
+++ scribus/pslib.cpp (revision 14007)
@@ -22,6 +22,7 @@
***************************************************************************/
#include "pslib.h"
+#include <cmath>
#include <QFileInfo>
#include <QImage>
@@ -40,24 +41,24 @@
#include "commonstrings.h"
#include "scconfig.h"
#include "pluginapi.h"
+#include "multiprogressdialog.h"
+#include "pageitem_latexframe.h"
#include "prefsmanager.h"
#include "scclocale.h"
+#include "sccolorengine.h"
+#include "scfonts.h"
+#include "scribusapp.h"
#include "scribusdoc.h"
#include "scribus.h"
#include "scribuscore.h"
-#include "scfonts.h"
#include "selection.h"
-#include <cmath>
+#include "scpattern.h"
+#include "scstreamfilter_ascii85.h"
+#include "scstreamfilter_flate.h"
#include "util.h"
+#include "util_cms.h"
#include "util_formats.h"
#include "util_math.h"
-#include "multiprogressdialog.h"
-#include "pageitem_latexframe.h"
-#include "scribusapp.h"
-#include "scpattern.h"
-#include "sccolorengine.h"
-#include "scstreamfilter_ascii85.h"
-#include "scstreamfilter_flate.h"
#include "text/nlsconfig.h"
@@ -1793,7 +1794,7 @@
PS_setGray();
applyICC = Ic;
if ((Doc->HasCMS) && (ScCore->haveCMS()) && (applyICC))
- solidTransform = cmsCreateTransform(Doc->DocInputCMYKProf, TYPE_CMYK_16, Doc->DocPrinterProf, TYPE_CMYK_16, Doc->IntentColors, 0);
+ solidTransform = scCmsCreateTransform(Doc->DocInputCMYKProf, TYPE_CMYK_16, Doc->DocPrinterProf, TYPE_CMYK_16, Doc->IntentColors, 0);
else
applyICC = false;
if (usingGUI)
More information about the scribus-commit
mailing list