pdftocairo misplaces math symbols in latex pdf
Consider the following document:
\documentclass{article}
\usepackage{txfonts}
\begin{document}
$|f(t)^2|$
\end{document}
Compiled with pdflatex, we get document.pdf which renders like this:
Now, running pdftocairo -pdf document.pdf out.pdf
we get out.pdf which renders like this:
Some math symbols are shifted to the right but not others. I'm running the latest poppler (22.03.0) and texlive (2021.62793) from Arch Linux. Please let me know if there is anything I can do to help investigate this issue.