font loading broken with pdftocairo 21.11.0
we convert pdfs to a4 with pdftocairo. But the font loading seems broken since 21.11.0:
$ pdftocairo -r 300 -paper A4 -pdf in.pdf out.pdf
Syntax Error: non-embedded font using identity encoding: ArialMT
Syntax Error: non-embedded font using identity encoding: ArialMT
The font ArialMT is installed but not loaded any more, and so garbage is shown in the output document.
with pdftocairo 20.09.0 this worked fine.
pdffonts in.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
FAEHMM+ArialMT CID TrueType Identity-H yes yes yes 529 0
RLPPPF+Calibri,Bold CID TrueType Identity-H yes yes yes 533 0
FAEHMM+ArialMT TrueType WinAnsi yes yes yes 535 0
FAEHMM+Arial-ItalicMT TrueType WinAnsi yes yes yes 537 0
ArialMT CID TrueType Identity-H no no no 541 0
FAEHMM+Arial-BoldMT TrueType WinAnsi yes yes yes 422 0
MPSTDQ+ArialMT CID TrueType Identity-H yes yes yes 431 0
RLPPPF+Calibri,Bold CID TrueType Identity-H yes yes yes 434 0
YCNRSA+ArialMT TrueType WinAnsi yes yes yes 446 0
YCNRSA+Arial-BoldMT TrueType WinAnsi yes yes yes 444 0
YCNRSA+Arial-ItalicMT TrueType WinAnsi yes yes yes 440 0
ArialMT CID TrueType Identity-H no no no 448 0
pdffonts -subst in.pdf
name object ID substitute font substitute font file
------------------------------------ --------- ------------------------------------ ------------------------------------
ArialMT 541 0 Arial MT /usr/share/fonts/arialmt/ARI.ttf
ArialMT 448 0 Arial MT /usr/share/fonts/arialmt/ARI.ttf
very likely related to #843
sorry, atm i cannot provide a pdf, i try to get one.