r13982 by jghali - #8424: Pure CMYK black (0, 0, 0, 100) is outputted incorrectly in PS when color profiles are applied
scribus-commit
scribus-commit at lists.scribus.net
Mon Sep 14 18:58:10 CEST 2009
Revision: 13982
Author: jghali
Date: 2009-09-10T09:59:12.761849Z
Commit message: #8424: Pure CMYK black (0,0,0,100) is outputted incorrectly in PS when color profiles are applied
Changeset:
M /trunk/Scribus/scribus/pslib.cpp
Diffs:
Index: scribus/pslib.cpp
===================================================================
--- scribus/pslib.cpp (revision 13981)
+++ scribus/pslib.cpp (revision 13982)
@@ -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 "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 "ui/multiprogressdialog.h"
#include "util.h"
+#include "util_cms.h"
#include "util_formats.h"
#include "util_math.h"
-#include "ui/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"
@@ -1795,7 +1796,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