[
https://issues.apache.org/jira/browse/PDFBOX-5321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-5321.
-------------------------------------
Assignee: Tilman Hausherr
Resolution: Fixed
> Silent fail of PDTextField.setValue when font encoding missing
> --------------------------------------------------------------
>
> Key: PDFBOX-5321
> URL: https://issues.apache.org/jira/browse/PDFBOX-5321
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm, PDModel
> Affects Versions: 2.0.24
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.25, 3.0.0 PDFBox
>
> Attachments: simple_form_Helvetica_no_encoding-saved.pdf,
> simple_form_Helvetica_no_encoding.pdf
>
>
> by [~momaison]
> {code}
> PDTextField field = (PDTextField) (pDAcroForm.getField("SampleField"));
> field.setValue("é");
> {code}
> /V is set correctly, but in the appearance stream 0xFF is used.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]