You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/10/15 12:32:33 UTC

[jira] [Closed] (PDFBOX-491) Problem with printing pdf document having chinese characters

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

Andreas Lehmkühler closed PDFBOX-491.
-------------------------------------
    Resolution: Fixed
      Assignee: Andreas Lehmkühler

The issue was fixed some time ago. It renders fine with several versions of the 1.8 branch.

> Problem with printing pdf document having chinese characters
> ------------------------------------------------------------
>
>                 Key: PDFBOX-491
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-491
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 0.7.3
>         Environment: Windows XP, JDK1.4 and 1.5
>            Reporter: varaprasad
>            Assignee: Andreas Lehmkühler
>         Attachments: myfile.pdf
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> We are getting the following exception.
> java.awt.print.PrinterIOException
> 	at org.pdfbox.pdmodel.PDPage.print(PDPage.java:745)
> 	at sun.print.RasterPrinterJob.printPage(Unknown Source)
> 	at sun.print.RasterPrinterJob.print(Unknown Source)
> 	at sun.print.RasterPrinterJob.print(Unknown Source)
> 	at com.foursoft.PDF_PrinterJob.main(PDF_PrinterJob.java:42)
> Caused by: java.io.IOException: Unknown encoding for 'UniGB-UCS2-H'
> 	at org.pdfbox.encoding.EncodingManager.getEncoding(EncodingManager.java:82)
> 	at org.pdfbox.pdmodel.font.PDFont.getEncoding(PDFont.java:612)
> 	at org.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:466)
> 	at org.pdfbox.util.PDFStreamEngine.showString(PDFStreamEngine.java:325)
> 	at org.pdfbox.util.operator.ShowText.process(ShowText.java:64)
> 	at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452)
> 	at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
> 	at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
> 	at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:104)
> 	at org.pdfbox.pdmodel.PDPage.print(PDPage.java:741)
> 	... 4 more



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