We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pgfsys-common-pdf.def puts the blend mode in an array:
pgfsys-common-pdf.def
\def\pgfsys@blend@mode#1{% \expandafter\ifx\csname pgf@sys@pdf@bm@#1\endcsname\relax% \expandafter\let\expandafter\pgf@temp\csname pgf@sys@pdf@blend@mode@map@#1\endcsname% \expandafter\xdef\csname pgf@sys@pdf@bm@#1\endcsname{/pgf@bm\pgf@temp}% \ifx\pgf@temp\relax% \pgferror{Unknown blend mode '#1'}% \def\pgf@temp{Normal}% \fi% \edef\pgf@temp{/pgf@bm\pgf@temp << /BM [ /\pgf@temp ] >>}%<< %<----------------!! \expandafter\pgfutil@addpdfresource@extgs\expandafter{\pgf@temp}% \fi% \pgfsysprotocol@literal{\csname pgf@sys@pdf@bm@#1\endcsname\space gs}% }
This will then write for example <</BM [ /Screen] >> into the pdf.
<</BM [ /Screen] >>
This is allowed, but deprecated in 2.0, the specification says about the /BM value:
name or array (array is deprecated in PDF 2.0)
As shown here https://tex.stackexchange.com/questions/609116/tikz-transparency-and-pdf-a, the verapdf validator seems not to like the array.
I suggest to write only a name by changing the line into
\edef\pgf@temp{/pgf@bm\pgf@temp << /BM /\pgf@temp >>}%<<
The text was updated successfully, but these errors were encountered:
Blend mode as array is deprecated pgf-tikz#1037
9deca68
Co-authored-by: Ulrike Fischer <fischer@troubleshooting-tex.de> Signed-off-by: Henri Menke <henri@henrimenke.de>
0e88f3b
6b0bd9a
Merge pull request #1038 from hmenke/pdf2
29989bc
Blend mode as array is deprecated #1037
Successfully merging a pull request may close this issue.
pgfsys-common-pdf.def
puts the blend mode in an array:This will then write for example
<</BM [ /Screen] >>
into the pdf.This is allowed, but deprecated in 2.0, the specification says about the /BM value:
As shown here https://tex.stackexchange.com/questions/609116/tikz-transparency-and-pdf-a, the verapdf validator seems not to like the array.
I suggest to write only a name by changing the line into
The text was updated successfully, but these errors were encountered: