You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using:
pdfcpu: v0.6.0 dev
commit: e33b502 (2023-12-13T10:22:47Z)
base : go1.21.0
On macOS 13.6 (22G120)
When I populate a form with text containing text with diacritics, it is not rendered properly in Adobe Acrobat Pro 2023.008.20458 when opened. The text does appear as expected once I click on the form field in Acrobat Pro.
If I edit populate the form using either Acrobat or macOS Preview using the same text as is in the JSON, the file opens as expected in Acrobat.
The cause of this is that this PDF form defines the fill font to be a Type 1 core font.
For fill strings containing code points above 0xFF this results in these characters to disappear because they can't be represented by any glyph.
The solutions for this is embedding a font which contains these missing glyphs.
Using:
pdfcpu: v0.6.0 dev
commit: e33b502 (2023-12-13T10:22:47Z)
base : go1.21.0
On macOS 13.6 (22G120)
When I populate a form with text containing text with diacritics, it is not rendered properly in Adobe Acrobat Pro 2023.008.20458 when opened. The text does appear as expected once I click on the form field in Acrobat Pro.
If I edit populate the form using either Acrobat or macOS Preview using the same text as is in the JSON, the file opens as expected in Acrobat.
out.json
populated.out.json
template-pl.pdf
template.pdf
The text was updated successfully, but these errors were encountered: