You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/06/09 01:08:01 UTC

[jira] [Updated] (PDFBOX-239) PDFToImage prints every word at the start of the line

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

Tilman Hausherr updated PDFBOX-239:
-----------------------------------

    Attachment: PDType1Font.patch

It still occurs now, and it is analog to PDFBOX-62 but for type 1 fonts. One possible solution (attached) for this file is to map Arial to the Helvetica AFM file.

> PDFToImage prints every word at the start of the line
> -----------------------------------------------------
>
>                 Key: PDFBOX-239
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-239
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.3.1
>            Reporter: Jukka Zitting
>            Priority: Minor
>         Attachments: PDType1Font.patch
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1641283
> Originally submitted by trejkaz on 2007-01-21 21:30.
> I'm evaluating using PDFBox to convert PDF files to image files.  However, on the most basic test I could come up with, PDFToImage fails to create the result I would expect.
> Each word on the line is printed at the very start of the line, the text overlapping the previous words.
> Attached is a simple PDF file containing nothing but "Hello World!", which was created via FOP.
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1641283&file_id=212437
> helloworld1.png (image/png), 5488 bytes
> helloworld1.png (result of running PDFToImage on helloworld.png)
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1641283&file_id=212436
> helloworld.pdf (application/pdf), 4775 bytes
> helloworld.pdf
> [comment on SourceForge]
> Originally sent by trejkaz.
> Logged In: YES 
> user_id=639492
> Originator: YES
> Would this happen to be related to PDFStreamEngine.java line 334?
>             //todo, handle horizontal displacement
> [comment on SourceForge]
> Originally sent by trejkaz.
> Logged In: YES 
> user_id=639492
> Originator: YES
> Attaching the PNG file resulting from rendering this PDF.
> File Added: helloworld1.png



--
This message was sent by Atlassian JIRA
(v6.2#6252)