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

Tilman Hausherr updated PDFBOX-6118:
------------------------------------
    Description: 
See linked PR, sometimes {{graphics2D.getTransform().getScaleX()}} is zero when 
printing with RASTERIZE_DPI_AUTO.

Update: the cause is that the page is rotated so we can't use getScaleX().

  was:See linked PR, sometimes {{graphics2D.getTransform().getScaleX()}} is 
zero when printing with RASTERIZE_DPI_AUTO.


> IllegalArgumentException: Width (0) and height (0) cannot be <= 0 when 
> printing with RASTERIZE_DPI_AUTO
> -------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-6118
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6118
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.35, 3.0.6 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0
>
>
> See linked PR, sometimes {{graphics2D.getTransform().getScaleX()}} is zero 
> when printing with RASTERIZE_DPI_AUTO.
> Update: the cause is that the page is rotated so we can't use getScaleX().



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