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

Maruan Sahyoun updated PDFBOX-667:
----------------------------------

    Attachment: raw.out.win.pdf
                raw.out.pdf

The document prints fine on Max and Linux using the latest trunk (see 
raw.out.pdf). On Windows a warning occurs and one line is missing from the 
output (see raw.out.win.pdf). In all cases there is no overlapping of chars.

Warning on Windows:

23.03.2010 11:52:50 org.apache.pdfbox.util.PDFStreamEngine processOperator
WARNUNG: java.lang.ArrayIndexOutOfBoundsException: 1
java.lang.ArrayIndexOutOfBoundsException: 1
        at sun.awt.windows.WPrinterJob.setTextColor(Unknown Source)
        at sun.awt.windows.WPathGraphics.drawString(Unknown Source)
        at sun.awt.windows.WPathGraphics.drawString(Unknown Source)
        at 
org.apache.pdfbox.pdmodel.font.PDSimpleFont.writeFont(PDSimpleFont.java:350)
        at 
org.apache.pdfbox.pdmodel.font.PDType1Font.drawString(PDType1Font.java:248)
        at 
org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:183)
        at 
org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:494)
        at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:45)
        at 
org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:552)
        at 
org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:248)
        at 
org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:207)
        at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:106)
        at org.apache.pdfbox.pdmodel.PDPage.print(PDPage.java:801)
        at sun.print.RasterPrinterJob.printPage(Unknown Source)
        at sun.print.RasterPrinterJob.print(Unknown Source)
        at sun.print.RasterPrinterJob.print(Unknown Source)
        at org.apache.pdfbox.pdmodel.PDDocument.print(PDDocument.java:993)
        at PrintPDF.main(PrintPDF.java:128)

> 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, raw.out.pdf, raw.out.win.pdf, raw.pdf
>
>
> 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