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 18:55:00 UTC

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

Tilman Hausherr created PDFBOX-5321:
---------------------------------------

             Summary: 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
    Affects Versions: 2.0.24
            Reporter: Tilman Hausherr
             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