PhilterPaper / Perl-PDF-Builder

Extended version of the popular PDF::API2 Perl-based PDF library for creating, reading, and modifying PDF documents
https://www.catskilltech.com/FreeSW/product/PDF%2DBuilder/title/PDF%3A%3ABuilder/freeSW_full
Other
6 stars 7 forks source link

default_page_size() (Get) fails #210

Closed PhilterPaper closed 4 months ago

PhilterPaper commented 4 months ago

In ssimms/pdfapi2/issues/75, @The-Builder reported that

$pdf->default_page_size();

Can't use string ("5") as a HASH ref ... PDF/API2.pm line 1823

Version 2.045

This has been confirmed in PDF::Builder 3.027. With no parameter value, it is supposed to return a four-element rectangle of the page coordinates.

PhilterPaper commented 4 months ago

Fixed in PDF::Builder, changes are in GitHub. Will be in 3.027 release.