[gs-bugs] [Bug 691408] Standard search path is not used for ICC profiles

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jul 8 19:00:15 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691408

--- Comment #16 from Ray Johnston <ray.johnston at artifex.com> 2010-07-08 19:00:12 UTC ---
Quick patch to actually print out the ICCProfilesDir setting:

Index: psi/zusparam.c
===================================================================
--- psi/zusparam.c      (revision 11480)
+++ psi/zusparam.c      (working copy)
@@ -649,9 +649,9 @@
 static void
 current_default_dir_icc(i_ctx_t *i_ctx_p, gs_param_string * pval)
 {
-    static const char *const rfs = "NULL";
-    pval->data = (const byte *)rfs;
-    pval->size = strlen(rfs);
+    const gs_imager_state * pis = (gs_imager_state *) igs;
+    pval->data = (const byte *)pis->icc_manager->profiledir;
+    pval->size = pis->icc_manager->namelen;
     pval->persistent = true;
 }

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list