Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827869 - dev-texlive/texlive-xetex-2021-r1: transparency not working with pgf
Summary: dev-texlive/texlive-xetex-2021-r1: transparency not working with pgf
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-30 00:33 UTC by Mihai Moldovan
Modified: 2022-09-20 14:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Moldovan 2021-11-30 00:33:25 UTC
Compiling this MWE with xelatex produces a PDF file without transparency:

\documentclass{article}
\usepackage{fontspec}
\usepackage{pgf}

\begin{document}

\fontsize{48}{48}\selectfont
\fontspec{Arial}
{\special{pdf:code q}
\pgfsetfillopacity{0.5}
{\color{red}X}\kern-1ex
{\color{green}Y}\kern-0.8ex
{\color{blue}Z}\kern-0.8ex

Dummy text.

\special{pdf:code Q}
}

\end{document}

Compiling the same code with lualatex produces a file with transparency.

I've originally reported that upstream ( https://github.com/pgf-tikz/pgf/issues/1078 ), thinking that it was a general issue, but as it turns out this issue is only reproducible on Gentoo systems.

Reproducible: Always
Comment 1 pub 2022-09-20 14:07:27 UTC
Same issue here.

Gentoo on TexLive-2021-r1 discards transparency when running xelatex, but everything is normal with Luatex.

This happens with the MWE provided by Mihai as well as several other documents I created.