Hi,
I looked at your PDF again. That PDF is a scanned image with some
invisible OCR, so this font thing is probably not relevant (although I
can't explain it). The Arial0 font is used only for a dot. (That is
invisible)
You have PDFDebugger, please try displaying this:
it should display the image on the right. If it doesn't, then something
is wrong with the JPEG decoder.
Tilman
Am 20.12.2021 um 11:21 schrieb Stefan Sauerer:
Hi Tilman,
so tried to follow your advice and installed the Zapf Dingabts font.
Unfortunately, the conversion result is still empty. I also downloaded the
PDFDebugger and had a look myself inside the PDF structure.
As far as I understand, there are 3 fonts used in this document: Arial,
TimesNewRoman & Arial0. So there seems to be no Zapf Dingbats font... Anyway -
I debugged again inside the conversion. The exception occurs for the Arial0 font.
So here is a codde snipped where we iterate over all fonts used in this document:
for (COSName name : document.getPage(page).getResources().getFontNames()) {
PDFont font =
document.getPage(page).getResources().getFont(name);
...
}
for name=Arial0 there will be the exception. Also the font table of Arial0
looks a bit different than the other ones. I also tried to install this
specific font, but it seems that there does not exist such a font 'Arial0'.
Besides that, Arial sounds very basic to me and should be available on every
windows system i guess.
There is some more question arised during this investigation:
How does it work for other viewers like the Adobe Acrobat viewer, or inside
chrome/firefox and of course the PDFDebugger? For these viewers, there are no
problems at all. Is it not required for these viewers to have the corresponding
fonts installed as well?
All in all, i am a bit confused & i don't know how to proceed from this point.
Many thanks in advance & I am looking forward to hear from you.
Stefan Sauerer
Software Engineer DevelopmentCenter SmartApp Factory
CAS Software AG· CAS-Weg 1 -5 · 76131 Karlsruhe, Germany · Phone: +49 721-9638-0
Successful
relationships.www.cas.de/en<http://www.cas.de/en<http://www.cas.de/en%3chttp:/www.cas.de/en>>
· linkedinhttp://www.linkedin.com/company/cas-software-ag
Legals:http://www.cas.de/en/impressum.html
Executive board: Martin Hubschneider
Supervisory board: Dr. Dr. Jörg Maurer (chair) · Prof. Dr. Peter Lockemann ·
Kurt Sibold
Head Office: Karlsruhe · County Court Mannheim · Register of Companies Number:
HRB 108751 ·
VAT Identification Number: DE14359314