|Subject:||add additional standard paper sizes, plus "universal"|
|Date:||Tue, 02 Sep 2014 12:32:54 -0400|
|To:||bug-PDF-API2 [...] rt.cpan.org|
|From:||Phil M Perry <philperry [...] hvc.rr.com>|
PDF::API2 v2.022 Perl 5.16.3 Windows 7 Severity: Normal There are many more standard paper sizes that could be supported by PDF::API2. I have added several dozen, culled from various sources, and submitted them to the maintainer. In addition, I corrected "2a" to "2a0", "4a" to "4a0", "2b" to "2b0", and "4b" to "4b0". If that causes any incompatibilities, the 2/4 a/b could be added back in, but deprecated. In addition, inspired by HTMLDoc, I added "universal" as a size. It is the narrower and shorter of US Letter and A4 (ISO Letter), so that almost any printer in the world should be able to successfully print a document formatted for "universal". On US Letter paper, there will be a little extra right margin, and on A4 paper, there will be a little extra top margin. API2/Util.pm and API2/Resource/Papersizes.pm were modified and submitted to the maintainer.