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

Villu Ruusmann updated PDFBOX-667:
----------------------------------

    Attachment: raw_pagedraw.png

Maruan has correctly spotted that the current loop termination condition is 
wrong, but it is not the root cause of the problem.

The sample file raw.pdf uses external TrueType font "Helvetica". Unlike Acrobat 
Reader and other "native" PDF viewer programs, PDFBox does not have a built-in 
support for this font and uses "Arial-MT" instead. All in all this results in 
incorrect font metrics.

The good news is that PDFBOX-663 provides remedy here - the text is still drawn 
using "Arial" instead of "Helvetica", but the font metrics is correct. Please 
see the sample image "raw_pagedraw.png".

Peter, please check out the SVN trunk one more time (PDFBOX-663 was committed 
yesterday) and see if it solves your problem.

> Last characters in a line overlap when a PDF is printed
> -------------------------------------------------------
>
>                 Key: PDFBOX-667
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-667
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Peter Deter
>         Attachments: out.ps, out_patch.ps, PDFStreamEngine.patch, 
> raw.out.pdf, raw.out.win.pdf, raw.pdf, raw_pagedraw.png
>
>
> When printing a PDF every last character in a line overlaps it's leading 
> character.
> This problem appears in v1.0.0
> Printing the same PDF with v 0.7.3 works fine. 

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

Reply via email to