summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-01 16:01:23 +0000
committerKarl Berry <karl@freefriends.org>2019-06-01 16:01:23 +0000
commit474fe9f9ed442875374b7c19cc6884493a712272 (patch)
tree4eef5bd192f0e8090912bf34993cac7c0c28a539 /Build/source
parentd50aed6352e54696b5b1864afdeb77e3046a01e1 (diff)
psdefs.cpp patch since GS_PDF_ProcSet was removed in gs-9.27
git-svn-id: svn://tug.org/texlive/trunk@51285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvisvgm/TLpatches/ChangeLog4
-rw-r--r--Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs19
2 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/TLpatches/ChangeLog b/Build/source/texk/dvisvgm/TLpatches/ChangeLog
index 4ca80090ce2..682dfc104cf 100644
--- a/Build/source/texk/dvisvgm/TLpatches/ChangeLog
+++ b/Build/source/texk/dvisvgm/TLpatches/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-01 Karl Berry <karl@freefriends.org>
+
+ * patch-10-psdefs: from Akira.
+
2019-03-26 Karl Berry <karl@freefriends.org>
* patch-09-woff-zlib: new file. From Mojca and Martin,
diff --git a/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs b/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs
new file mode 100644
index 00000000000..82690ddc352
--- /dev/null
+++ b/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs
@@ -0,0 +1,19 @@
+dvisvgm does not work with gs-9.27 because GS_PDF_ProcSet was removed in
+gs-9.27.
+
+--- psdefs.cpp.orig Mon Mar 11 03:21:29 2019
++++ psdefs.cpp Thu May 30 08:06:00 2019
+@@ -107,8 +107,8 @@
+ "dmode sysexec<</Normal 0/Compatible 0/Multiply 1/Screen 2/Overlay 3/SoftLight "
+ "4/HardLight 5/ColorDodge 6/ColorBurn 7/Darken 8/Lighten 9/Difference 10/Exclus"
+ "ion 11/Hue 12/Saturation 13/Color 14/Luminosity 15/CompatibleOverprint 16>>exc"
+-"h get 1(setblendmode)prcmd}def/@pdfpagecount{GS_PDF_ProcSet begin pdfdict begi"
+-"n(r)file pdfopen begin pdfpagecount currentdict pdfclose end end end}def/@pdfp"
+-"agebox{GS_PDF_ProcSet begin pdfdict begin(r)file pdfopen begin dup dup 1 lt ex"
+-"ch pdfpagecount gt or{pop}{pdfgetpage/MediaBox pget pop aload pop}ifelse curre"
+-"ntdict pdfclose end end end}def DELAYBIND{.bindnow}if ";
++"h get 1(setblendmode)prcmd}def/@pdfpagecount{(r)file runpdfbe"
++"gin pdfpagecount runpdfend}def/@pdfp"
++"agebox{(r)file runpdfbegin dup dup 1 lt ex"
++"ch pdfpagecount gt or{pop}{pdfgetpage/MediaBox pget pop aload pop}ifelse runpd"
++"fend}def DELAYBIND{.bindnow}if ";