[ 
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:#0747a6}{color:#172b4d} public void renderPageToGraphics(int pageIndex, 
Graphics2D graphics, float scaleX, float scaleY, RenderDestination destination) 
{color}{color:#172b4d}throws IOException{color}
{color}
 * value of pageIndex: {color:#0747a6}0{color}
 * {color:#0747a6}{color:#172b4d}value of graphics:{color:#4c9aff} 
SunGraphics2D{color}{color}{color}
 * {color:#0747a6}{color:#172b4d}value of scaleX:{color:#4c9aff} 
0.973301{color}{color}{color}
 * {color:#0747a6}{color:#172b4d}value of scaleY: 
{color:#4c9aff}0.973301{color}{color}{color}
 * value of destination: {color:#4c9aff}"VIEW"{color}

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 method 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}

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:#0747a6}{color:#172b4d} public void renderPageToGraphics(int 
> pageIndex, Graphics2D graphics, float scaleX, float scaleY, RenderDestination 
> destination) {color}{color:#172b4d}throws IOException{color}
> {color}
>  * value of pageIndex: {color:#0747a6}0{color}
>  * {color:#0747a6}{color:#172b4d}value of graphics:{color:#4c9aff} 
> SunGraphics2D{color}{color}{color}
>  * {color:#0747a6}{color:#172b4d}value of scaleX:{color:#4c9aff} 
> 0.973301{color}{color}{color}
>  * {color:#0747a6}{color:#172b4d}value of scaleY: 
> {color:#4c9aff}0.973301{color}{color}{color}
>  * value of destination: {color:#4c9aff}"VIEW"{color}
> 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]

Reply via email to