[ 
https://issues.apache.org/jira/browse/PDFBOX-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001984#comment-13001984
 ] 

C. Bertho edited comment on PDFBOX-968 at 3/3/11 1:52 PM:
----------------------------------------------------------

On another page (see TextStamping_LetterSpacing2.jpg), withing the same PDF 
document, the text has extra spaces between letters.
Why and how to disable this ?

      was (Author: cbertho):
    On this other page, withing the same PDF document, the text has extra 
spaces between letters.
Why and how to disable this ?
  
> 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
>         Attachments: TextStamping_LetterSpacing1.jpg, 
> TextStamping_LetterSpacing2.jpg
>
>
> 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

        

Reply via email to