texlive[51285] Build/source/texk/dvisvgm/TLpatches: psdefs.cpp patch

commits+karl at tug.org commits+karl at tug.org
Sat Jun 1 18:01:23 CEST 2019


Revision: 51285
          http://tug.org/svn/texlive?view=revision&revision=51285
Author:   karl
Date:     2019-06-01 18:01:23 +0200 (Sat, 01 Jun 2019)
Log Message:
-----------
psdefs.cpp patch since GS_PDF_ProcSet was removed in gs-9.27

Modified Paths:
--------------
    trunk/Build/source/texk/dvisvgm/TLpatches/ChangeLog

Added Paths:
-----------
    trunk/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs

Modified: trunk/Build/source/texk/dvisvgm/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvisvgm/TLpatches/ChangeLog	2019-06-01 09:54:21 UTC (rev 51284)
+++ trunk/Build/source/texk/dvisvgm/TLpatches/ChangeLog	2019-06-01 16:01:23 UTC (rev 51285)
@@ -1,3 +1,7 @@
+2019-06-01  Karl Berry  <karl at freefriends.org>
+
+	* patch-10-psdefs: from Akira.
+
 2019-03-26  Karl Berry  <karl at freefriends.org>
 
 	* patch-09-woff-zlib: new file. From Mojca and Martin,

Added: trunk/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs
===================================================================
--- trunk/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs	                        (rev 0)
+++ trunk/Build/source/texk/dvisvgm/TLpatches/patch-10-psdefs	2019-06-01 16:01:23 UTC (rev 51285)
@@ -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 ";



More information about the tex-live-commits mailing list