summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-10-06 10:35:47 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-10-06 10:35:47 +0000
commit5e76f0a6b81ef0b2a201a4bdf828eb906cbabfdf (patch)
tree99f2e9edff10bcd6cd034e7a66568345cfbd8fa3
parentb90afc4cb261a261cea005f430660c26f9c0923f (diff)
Add an option -dALLOWPSTRANSPARENCY in GS_CALCULATOR to obtain correct results in PSTrics for XeTeX.
git-svn-id: svn://tug.org/texlive/trunk@56567 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog8
-rw-r--r--Build/source/texk/dvipdfm-x/spc_dvips.c6
2 files changed, 11 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 5107b89f967..16f25f21e65 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,11 @@
+2020-10-06 Akira Kakuto <kakuto@w32tex.org>
+
+ * spc_dvips.c: Add an option -dALLOWPSTRANSPARENCY in
+ GS_CALCULATOR to obtain correct results in PSTrics for XeTeX
+ in the case of newer Ghostscript such as gs-9.53.3.
+ Reported in
+ https://tug.org/pipermail/dvipdfmx/2020-October/000109.html
+
2020-10-06 Shunsaku Hirata <shunsaku.hirata74@gmail.com>
* dvipdfmx.c: Fix a bug that printing output file name is wrong.
diff --git a/Build/source/texk/dvipdfm-x/spc_dvips.c b/Build/source/texk/dvipdfm-x/spc_dvips.c
index 31d5db212f7..8090d2664d4 100644
--- a/Build/source/texk/dvipdfm-x/spc_dvips.c
+++ b/Build/source/texk/dvipdfm-x/spc_dvips.c
@@ -1017,11 +1017,11 @@ spc_dvips_setup_handler (struct spc_handler *handle,
}
#ifdef __EMX__
-#define GS_CALCULATOR "gsos2 -q -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -f "
+#define GS_CALCULATOR "gsos2 -q -dALLOWPSTRANSPARENCY -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -f "
#elif defined(WIN32)
-#define GS_CALCULATOR "rungs -q -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -f "
+#define GS_CALCULATOR "rungs -q -dALLOWPSTRANSPARENCY -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -f "
#else
-#define GS_CALCULATOR "gs -q -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -f "
+#define GS_CALCULATOR "gs -q -dALLOWPSTRANSPARENCY -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage -f "
#endif
static