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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17443175#comment-17443175 ] 

ASF subversion and git services commented on PDFBOX-5321:
---------------------------------------------------------

Commit 1895000 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1895000 ]

PDFBOX-5321: avoid quiet failure when encoding is missing; fix messages

> 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
>            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