Writing text into existing PDF - extra spaces between characters on some pages
of the PDF
-----------------------------------------------------------------------------------------
Key: PDFBOX-968
URL: https://issues.apache.org/jira/browse/PDFBOX-968
Project: PDFBox
Issue Type: Bug
Components: Writing
Affects Versions: 1.3.1
Environment: Windows and Solaris environment
Reporter: C. Bertho
I used PDFBox to add text into existing PDF documents (kind of text stamping).
For some pages of PDF, the space/gap between letters/characters of the text is
much wider !
I cannot explain how/why it happens ?!
Sample of my code:
contentStream.beginText();
contentStream.setNonStrokingColor(colorText);
contentStream.setFont(pdfFont, fontSize);
contentStream.moveTextPositionByAmount(xText, yText);
contentStream.drawString(messageStamp);
contentStream.endText();
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira