Add pgf patches

master
Jacopo De Simoi 4 months ago
parent 0b97969044
commit a8742c052e
  1. 52
      dev-tex/pgf/0001-Workaround-goto-source-mishaps.patch

@ -0,0 +1,52 @@
From 2fe89c7027369a10b85ee6e46c4adb955a556228 Mon Sep 17 00:00:00 2001
From: Jacopo De Simoi <jacopods@gmail.com>
Date: Tue, 23 Jun 2020 11:23:06 -0400
Subject: [PATCH] Workaround goto-source mishaps
---
tex/generic/pgf/systemlayer/pgfsys-pdftex.def | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tex/generic/pgf/systemlayer/pgfsys-pdftex.def b/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
index 510a4cca..07ba65d5 100644
--- a/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
+++ b/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
@@ -83,7 +83,7 @@
\pgfmathparse{#2}%
\setbox\pgfutil@tempboxa=\hbox to\pgf@max{\vbox to\pgfmathresult pt{\vfil\pgfsys@invoke{/Sh sh}}\hfil}%
\pgf@process{\pgfpoint{\pgf@max}{#2}}%
- \immediate\pdfxform resources {%
+ \pdfxform resources {%
/Shading << /Sh << /ShadingType 2
/ColorSpace \pgf@shading@device\space
/Domain [\pgf@pdfparseddomain]
@@ -100,7 +100,7 @@
\pgfmathparse{#2}%
\setbox\pgfutil@tempboxa=\hbox to\pgfmathresult pt{\vbox to\pgf@max{\vfil\pgfsys@invoke{/Sh sh}}\hfil}%
\pgf@process{\pgfpoint{#2}{\pgf@max}}%
- \immediate\pdfxform resources {%
+ \pdfxform resources {%
/Shading << /Sh << /ShadingType 2
/ColorSpace \pgf@shading@device\space
/Domain [\pgf@pdfparseddomain]
@@ -125,7 +125,7 @@
\pgf@sys@bp@correct{\pgf@y}%
\pgf@sys@bp@correct{\pgf@xa}%
\pgf@sys@bp@correct{\pgf@ya}%
- \immediate\pdfxform resources {%
+ \pdfxform resources {%
/Shading << /Sh << /ShadingType 3
/ColorSpace \pgf@shading@device\space
/Domain [\pgf@pdfparseddomain]
@@ -304,7 +304,7 @@
\def\pgf@sys@pdf@install@mask#1{%
\setbox\pgfutil@tempboxa=\hbox{\pdfrefxform\csname pgfsmaskxform@#1\endcsname}
- \immediate\pdfxform%
+ \pdfxform%
attr {
/Group
<<
--
2.26.2
Loading…
Cancel
Save