You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2008/11/11 23:35:44 UTC

[jira] Updated: (PDFBOX-162) font spacing

     [ https://issues.apache.org/jira/browse/PDFBOX-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-162:
--------------------------------------

    Attachment: patch_pdfbox-162.diff

I followed the suggestions and made a patch to eliminate the mentioned casts in the drawString method.  2 classes are envolved org.apache.pdfbox.pdmodel.font.PDType1Font and org.apache.pdfbox.pdmodel.font.PDTrueTypeFont

> font spacing
> ------------
>
>                 Key: PDFBOX-162
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-162
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>         Attachments: patch_pdfbox-162.diff
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1485049
> Originally submitted by nobody on 2006-05-09 14:29.
> In the last line of the drawString method of 
> org.pdfbox.pdmodel.font.PDTrueTypeFont.java, the locations are casted 
> to int's. This produces undesireable results when displaying a pdf.  
> Removing the cast, produces more pleasant-looking font spacing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.