This sounds like
https://issues.apache.org/jira/browse/PDFBOX-5403
but it's impossible to tell without the file. What you could do is to
look for the images in the file, below
Root/Pages/Kids/[0]/Resources/XObject . Are the images like in the file
https://issues.apache.org/jira/secure/attachment/13041734/bad%20rendering.pdf
? Then it's that problem.
The warnings are just that, the PDF is incorrect but PDFBox will use the
font.
Tilman
Am 21.04.2022 um 10:58 schrieb Stefan Sauerer:
Hello PDFBox Team,
While rendering a document, the font has a weird scaling in the result image.
Depending on DPI, the font is very tiny and impossible to read (even for high
DPI like 300). For some DPI values, the font is completly gone.
I also opened the document with PDFDebugger in version 3.0.0. and played a
little bit with the zoom level. Same result here. The font will not be rendered
correctly.
Unfortunately, I am not allowed to share the document with you, but the console
of the debugger says the following:
Warning [PDCIDFontType2] Found CFF/OTF but expected embedded TTF font
InterLight
Warning [PDCIDFontType2] Found CFF/OTF but expected embedded TTF font
OfficinaSansITCProBook,Bold
Warning [PDCIDFontType2] Found CFF/OTF but expected embedded TTF font
InterSemiBold
Do you have any advice what the problem could be and how to solve the rendering
issue?
Best regards,
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org