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/14 05:17:00 UTC

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