[ https://issues.apache.org/jira/browse/PDFBOX-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maruan Sahyoun reassigned PDFBOX-2062: -------------------------------------- Assignee: Maruan Sahyoun > Setting a PDFFormField's value with a specific font size causes the font size > to change on click > ------------------------------------------------------------------------------------------------ > > Key: PDFBOX-2062 > URL: https://issues.apache.org/jira/browse/PDFBOX-2062 > Project: PDFBox > Issue Type: Bug > Components: AcroForm, PDModel > Affects Versions: 1.8.5 > Environment: Linux, OSX > Reporter: Akshay Rawat > Assignee: Maruan Sahyoun > Labels: Appearance > > Setting the font size of a PDField causes the font size to change on click on > the field. It starts out with incorrect font size. When the field is clicked, > it displays in the font size correctly. Clicking outside the field, reverts > back to the incorrect font size. > This behavior was also mentioned in PDFBOX-1419 in passing. > Code: > {code} > pdfFormField.getDictionary.setString(COSName.DA, "/Helv 10 Tf 0 g”) > pdfFormField.setValue("Hello”) > {code} > A simple example of such a PDF [is > here|http://monosnap.com/file/5fxGhQSdXszX4DIoTyGguZ3ploinAC]. -- This message was sent by Atlassian JIRA (v6.2#6252)