PdfBox-Android icon indicating copy to clipboard operation
PdfBox-Android copied to clipboard

Incorrect rendering of embedded fonts

Open Bernhardino opened this issue 9 months ago • 2 comments

Describe the bug Since a weekly free magazine has been using new fonts, the latest version of PDFBox no longer renders some of them correctly, although PDFBox confirms that the fonts are embedded.

To reproduce Open the attached issue.pdf, the very first page of the current magazine (the issue exists however on every page).

PDF example See attached pdf.

Expected behavior Correct rendering as Adobe Acrobat App does, see the right half of the attached picture.

Actual behavior See the left half of the attached picture.

Environment details:

  • PdfBox-Android version: 2.0.27.0
  • Android API version: API 29

Additional context Adobe Preflight also confirms that the 4 fonts on this page are embedded. The pdf was created with FPDF 1.7. Pdf version is 1.6.

Image

issue.pdf

Bernhardino avatar Mar 16 '25 21:03 Bernhardino

Sorry, I would like to withdraw my post. I think I confused PDFBox with the PDF viewer pdf.js, which is responsible for rendering the pdf in my WebView ... Shame on me: My app is very old, I didn't remember this. @admin: Can you delete my post?

Bernhardino avatar Mar 16 '25 23:03 Bernhardino

You can close the issue yourself

THausherr avatar Sep 28 '25 18:09 THausherr