Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The user in the attached SO question noticed that the comb adjustment needed a factor of 2 to work correctly. A look at the font shows UnitsPerEm = 2048.
Sample code:
doc.getDocumentCatalog().getAcroForm().getField("field1").setValue("WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW"); doc.getDocumentCatalog().getAcroForm().getField("field2").setValue("MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM");
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-5859 StringIndexOutOfBoundsException in AppearanceGeneratorHelper
- Closed