summaryrefslogtreecommitdiff
path: root/psi
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2010-04-23 12:56:00 +0000
committerChris Liddell <chris.liddell@artifex.com>2010-04-23 12:56:00 +0000
commitf41e1da4b785a23062dd4f52c6de9d310b9853ab (patch)
tree52b55dbeab231fe20324636577aaa7caef7d77d7 /psi
parent35c9867c72771af7ddd03d0f9988ac6824edc258 (diff)
Resolve issues with the language_switch Ghostscript build for Windows, since Freetype enabled became the default for the normal GS build.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11113 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'psi')
-rwxr-xr-xpsi/psitop.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/psi/psitop.c b/psi/psitop.c
index 8e2cc1ccc..31ee0f5ea 100755
--- a/psi/psitop.c
+++ b/psi/psitop.c
@@ -139,12 +139,14 @@ ps_impl_allocate_interp_instance(
"-dOSTACKPRINT", // NB: debuggging postscript Needs to be removed.
"-dESTACKPRINT", // NB: debuggging postscript Needs to be removed.
#endif
+#if UFST_BRIDGE==1
"-dJOBSERVER",
"-sUFST_PlugIn=" UFSTFONTDIR "mtfonts/pcl45/mt3/plug__xi.fco",
"-sFCOfontfile=" UFSTFONTDIR "mtfonts/pclps2/mt3/pclp2_xj.fco",
"-sFCOfontfile2=" UFSTFONTDIR "mtfonts/pcl45/mt3/wd____xh.fco",
"-sFAPIfontmap=FCOfontmap-PCLPS2",
"-sFAPIconfig=FAPIconfig-FCO",
+#endif
0
};
#ifndef DEBUG
@@ -156,7 +158,6 @@ ps_impl_allocate_interp_instance(
char argbuf[1024];
#endif
# undef MAX_ARGS
-
ps_interp_instance_t *psi /****** SHOULD HAVE A STRUCT DESCRIPTOR ******/
= (ps_interp_instance_t *)
gs_alloc_bytes( mem,
@@ -164,6 +165,10 @@ ps_impl_allocate_interp_instance(
"ps_allocate_interp_instance(ps_interp_instance_t)"
);
+#if UFST_BRIDGE!=1
+ argc -= 6;
+#endif
+
/* If allocation error, deallocate & return */
if (!psi) {