pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maruan Sahyoun (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PDFBOX-686) Invalid text rendering while printing a PDF
Date Thu, 08 Apr 2010 19:05:37 GMT

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

Maruan Sahyoun commented on PDFBOX-686:
---------------------------------------

PDFStreamEngine.patch at PDFBOX-667 adresses that issue as the last char within a line of
text was treated as a separate loop termination condition. In addition the misplacement occurs
because of slightly different font metrics for Helvetica (used within the PDF) and ArialMT
(used for drawing).

> Invalid text rendering while printing a PDF
> -------------------------------------------
>
>                 Key: PDFBOX-686
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-686
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.1.0
>         Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
>            Reporter: Bertrand GILLIS
>             Fix For: 1.2.0
>
>         Attachments: sample.jpg, sample.pdf, sample.xps
>
>
> The space between the last character and the previous character at the end of a line
of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF

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


Mime
View raw message