Matti Raty created PDFBOX-2840:
----------------------------------
Summary: PDTextField.getDictionary() method not found
Key: PDFBOX-2840
URL: https://issues.apache.org/jira/browse/PDFBOX-2840
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 2.0.0
Environment: JRuby 1.9
Reporter: Matti Raty
When calling .getDictionary on PDTextField exception is thrown (exception is in
Ruby format but highlights the problem):
NoMethodError (undefined method `getDictionary' for
#<Java::OrgApachePdfboxPdmodelInteractiveForm::PDTextField:0x12684e9b>):
Documentation suggests that method should be found from
org.apache.pdfbox.pdmodel.interactive.form.PDFieldTreeNode but for some reason
it is not found.
I have same code calling .getDictionary in PDFBox 1.8 and it works fine. I need
to get the dictionary so I can change form field font to support UTF-8. As I
understood 1.8 is not supporting UTF-8.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]