Gayan Wijenayaka created PDFBOX-3085:
----------------------------------------

             Summary: 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");
        }





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