You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jani Pehkonen (JIRA)" <ji...@apache.org> on 2018/05/08 14:10:00 UTC

[jira] [Updated] (PDFBOX-4211) Some text is missing in JBIG2 images

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

Jani Pehkonen updated PDFBOX-4211:
----------------------------------
    Attachment: EncodedTable.patch

> Some text is missing in JBIG2 images
> ------------------------------------
>
>                 Key: PDFBOX-4211
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4211
>             Project: PDFBox
>          Issue Type: Bug
>          Components: JBIG2
>    Affects Versions: 2.0.9
>            Reporter: Jani Pehkonen
>            Priority: Major
>         Attachments: EncodedTable.patch
>
>
> [This PDF|http://library.sciencemadness.org/library/books/unitized_experiments_in_ochem.pdf] has problems.
> See pages "iii" (2), "ix" (6), "x" (7) etc. These pages have most of their text missing or in wrong position when rendered in PDFDebugger. Each page is a JBIG2 image that uses Huffman encoding. You may need to use for example -Xmx1000M to avoid OutOfMemoryError because the JBIG2 images are very large.
> Apply my patch to file EncodedTable.java in package org.apache.pdfbox.jbig2.decoder.huffman. I have fixed one line of code that does not follow the JBIG2 standard. 
> The JBIG2 standard is freely available [here|https://www.itu.int/rec/T-REC-T.88-200002-I/en]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org