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

Gayan Wijenayaka updated PDFBOX-3085:
-------------------------------------
    Description: 
New version of pdfbox(pdfbox-app-2.0.0-20151102.210538-1778.jar) throwing 
run-time error while calling PDFPrintable(PDDocument document, Scaling scaling, 
boolean showPageBorder).

In new version there is a validation for the dpi.

if (dpi <= 0)
        {
            throw new IllegalArgumentException("DPI must be greater than zero");
        }

Please help to fix this issue...

  was:
New version of pdfbox(pdfbox-app-2.0.0-20151102.210538-1778.jar) throwing 
run-time error while calling PDFPrintable(PDDocument document, Scaling scaling, 
boolean showPageBorder).

In new version there is a validation for the dpi.

if (dpi <= 0)
        {
            throw new IllegalArgumentException("DPI must be greater than zero");
        }




> New version of pdfbox(pdfbox-app-2.0.0-20151102.210538-1778.jar) throwing 
> run-time error while calling PDFPrintable(PDDocument document, Scaling 
> scaling, boolean showPageBorder).
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3085
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3085
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Gayan Wijenayaka
>
> New version of pdfbox(pdfbox-app-2.0.0-20151102.210538-1778.jar) throwing 
> run-time error while calling PDFPrintable(PDDocument document, Scaling 
> scaling, boolean showPageBorder).
> In new version there is a validation for the dpi.
> if (dpi <= 0)
>         {
>             throw new IllegalArgumentException("DPI must be greater than 
> zero");
>         }
> Please help to fix this issue...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to