You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/06/22 16:28:00 UTC

[jira] [Commented] (PDFBOX-3836) PDFToImage: Text missing or background box stacks over

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

Tilman Hausherr commented on PDFBOX-3836:
-----------------------------------------

The cause is a flaw with caching the clipping path. The intersected clipping path is the same object as the variable "lastClip" so PDFBox thinks it was already set.

> PDFToImage: Text missing or background box stacks over
> ------------------------------------------------------
>
>                 Key: PDFBOX-3836
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3836
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.6
>            Reporter: ccouturi
>            Assignee: Tilman Hausherr
>         Attachments: doc_mock.jpg, doc_mock.pdf
>
>
> When I try to convert this pdf to image, with the PDFToImage example app, then the result image is incorrect. 
> Some text blocks are missing (or maybe the background color box is stack over the text).
> To reproduce: 
> `java -jar pdfbox-app-3.0.0-SNAPSHOT.jar PDFToImage /tmp/doc_mock.pdf`
> Thanks



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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