"some font thing failed" - text simply not displayed
In some PDFs, I get an error message "some font thing failed", and the resulting image simply doesn't have the text from the PDF. These are credit card statements from Citi, so I can't post the PDF here, and I haven't seen this issue on other PDFs (that I know of - missing text is hard to notice).
Running pdftocairo gives these errors: Syntax Error: Embedded font file may be invalid (several times, right at the beginning) Syntax Error: could not create type1 face (hundreds of times) some font thing failed (hundreds of times)
Running pdftoppm gives these errors: Syntax Error: Embedded font file may be invalid Syntax Error: Embedded font file may be invalid Syntax Error: Embedded font file may be invalid Syntax Error: Embedded font file may be invalid Syntax Error: Couldn't create a font for 'F5_Otl' Syntax Error: Couldn't create a font for 'F6_Otl' Syntax Error: Couldn't create a font for 'F7_Otl' Syntax Error: Couldn't create a font for 'F8_Otl'
The outputs from these are attached.
pdffonts -subst reports this: Syntax Error: Embedded font file may be invalid Syntax Error: Embedded font file may be invalid Syntax Error: Embedded font file may be invalid Syntax Error: Embedded font file may be invalid name object ID substitute font substitute font file
While I wouldn't expect poppler to be able to guess at what an invalid embedded font should look like, I would expect it to replace it with something else, so at least the text would show up.