[
https://issues.apache.org/jira/browse/PDFBOX-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viktor Merkel updated PDFBOX-5635:
----------------------------------
Description:
On display of a PDF document additional unexpected thick points and lines are
displayed.
* Example of problematic PDF documents see attachment "anonymous.pdf"
* Screenshot of displayed image see attachment "display.png"
For displaying PDF Document we use following methods of class *PDFRenderer*
(package org.apache.pdfbox.rendering):
public BufferedImage {*}renderImage{*}(int pageIndex, float scale) throws
IOException
* value of pageIndex: {color:#0747a6}0{color}
* value of scale: {color:#0747a6}1.9417475{color}
{color:#172b4d} public void renderPageToGraphics(int pageIndex, Graphics2D
graphics, float scaleX, float scaleY, RenderDestination destination) throws
IOException{color}
* {color:#0747a6}{color:#172b4d}value of pageInde{color}x{color}: 0
* value of graphics: SunGraphics2D
* value of scaleX: 0.973301
* value of scaleY: 0.973301
* value of destination: "VIEW"
Remark: On test of PDFTools only empty pages are displayed
was:
On display of a PDF document additional unexpected thick points and lines are
displayed.
* Example of problematic PDF documents see attachment "anonymous.pdf"
* Screenshot of displayed image see attachment "display.png"
For displaying PDF Document we use following methods of class *PDFRenderer*
(package org.apache.pdfbox.rendering):
public BufferedImage {*}renderImage{*}(int pageIndex, float scale) throws
IOException
* value of pageIndex: {color:#0747a6}0{color}
* value of scale: {color:#0747a6}1.9417475{color}
{color:#172b4d} public void renderPageToGraphics(int pageIndex, Graphics2D
graphics, float scaleX, float scaleY, RenderDestination destination) throws
IOException{color}
* {color:#0747a6}{color:#172b4d}value of pageIndex{color}: 0{color}
* {color:#0747a6}{color:#172b4d}value of graphics:{color} SunGraphics2D{color}
* {color:#0747a6}{color:#172b4d}value of scaleX:{color} 0.973301{color}
* {color:#0747a6}{color:#172b4d}value of scaleY:{color} 0.973301{color}
* value of destination: {color:#4c9aff}"{color:#0747a6}VIEW{color}"{color}
Remark: On test of PDFTools only empty pages are displayed
> On display of a PDF document additional thick points and lines are displayed
> ----------------------------------------------------------------------------
>
> Key: PDFBOX-5635
> URL: https://issues.apache.org/jira/browse/PDFBOX-5635
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.27, 2.0.29
> Environment: Operating System: Windows 10
> Reporter: Viktor Merkel
> Priority: Major
> Attachments: anonymous.pdf, display.png
>
>
> On display of a PDF document additional unexpected thick points and lines are
> displayed.
> * Example of problematic PDF documents see attachment "anonymous.pdf"
> * Screenshot of displayed image see attachment "display.png"
> For displaying PDF Document we use following methods of class *PDFRenderer*
> (package org.apache.pdfbox.rendering):
> public BufferedImage {*}renderImage{*}(int pageIndex, float scale) throws
> IOException
> * value of pageIndex: {color:#0747a6}0{color}
> * value of scale: {color:#0747a6}1.9417475{color}
> {color:#172b4d} public void renderPageToGraphics(int pageIndex, Graphics2D
> graphics, float scaleX, float scaleY, RenderDestination destination) throws
> IOException{color}
> * {color:#0747a6}{color:#172b4d}value of pageInde{color}x{color}: 0
> * value of graphics: SunGraphics2D
> * value of scaleX: 0.973301
> * value of scaleY: 0.973301
> * value of destination: "VIEW"
> Remark: On test of PDFTools only empty pages are displayed
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]