Hei,

I've been trying to write text into a pdf using PdfBox 3.0.1. on macOS 14.1. When setting the value of a PDField I always get the following exception:

Could not load font file: /System/Library/Fonts/LastResort.otf java.io.IOException: Invalid character code 0xD800

After that some warnings appear, with more font files which can not be found

Format 14 cmap table is not supported and will be ignored
The expected SubstFormat for ExtensionSubstFormat1 subtable is 4 but should be 1 The expected SubstFormat for ExtensionSubstFormat1 subtable is 0 but should be 1
Format 14 cmap table is not supported and will be ignored
The expected SubstFormat for ExtensionSubstFormat1 subtable is 4 but should be 1 The expected SubstFormat for ExtensionSubstFormat1 subtable is 0 but should be 1
Unknown substFormat: 0
Format 14 cmap table is not supported and will be ignored

Even when I try to set the font of a PDPageContentStream in another example to Helvetica the same problems occur.

What exactly is going on here? As far as I know all the missing fonts are intalled on my Laptop.

Thanks for any help.

Best,
Emily

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to