You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/11/13 19:28:00 UTC

[jira] [Updated] (PDFBOX-5321) Silent fail of PDTextField.setValue when font encoding missing

     [ https://issues.apache.org/jira/browse/PDFBOX-5321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-5321:
------------------------------------
    Component/s: PDModel

> 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
>            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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org