You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/10 23:39:35 UTC

[jira] [Resolved] (PDFBOX-326) TrueType and characterHorizontalDisplacement

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

John Hewson resolved PDFBOX-326.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

This issue is obsolete in 2.0.

> TrueType and characterHorizontalDisplacement
> --------------------------------------------
>
>                 Key: PDFBOX-326
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-326
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1835843
> Originally submitted by ibuzz on 2007-11-21 07:25.
> PDFBox seem to have an issue with some PDF document using TrueType fonts with no width information stored in the font dictionary : 
>  
> 6 0 obj 
> <</BaseFont /TimesNewRoman 
> /Subtype /TrueType 
> /Name /F0 
> /Encoding /WinAnsiEncoding 
> /Type /Font 
> >> 
> endobj 
>  
>  
> The value of "characterHorizontalDisplacement" in "showString()" (PDFTextStripper.java) is always 0. 
>  
> Is PDFBox try to get the width information inside the TrueType font program, when this situation occur? 
>  
> If the answer is no, how I can get the width value inside a TrueType font program? 
>  
> Thanks! 
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1835843&file_id=255309
> CharDisplAndTTF.pdf (application/pdf), 215054 bytes



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)