Maruan Sahyoun created PDFBOX-3480:
--------------------------------------

             Summary: IllegalArgumentException in PDAppearanceString if there 
are no AcroForm default resources
                 Key: PDFBOX-3480
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3480
             Project: PDFBox
          Issue Type: Bug
          Components: AcroForm
    Affects Versions: 2.0.2, 2.0.1, 2.0.3, 2.1.0
            Reporter: Maruan Sahyoun


The constructor in {{PDAppearanceString}} requires a default resource which is 
taken from the AcroForm in {{PDVariableText}} or throws an 
{{IllegalArgumentException}}. As the {{/DR}} entry is optional such 
requirements shall be relaxed. This will also affect the methods available in 
PDAppearanceString as getFont/setFont won't make sense here as the actual  font 
should  be resolved by the COSName specified much later i.e. taken from the 
widgets resources entry or in case there is none from the AcroForm DR entry.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to