Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 98551
Status: resolved
Priority: 0/
Queue: PDF-API2

Owner: Nobody in particular
Requestors: philperry [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.026

Subject: add additional standard paper sizes, plus "universal"
Date: Tue, 02 Sep 2014 12:32:54 -0400
To: bug-PDF-API2 [...]
From: Phil M Perry <philperry [...]>
Download (untitled) / with headers
text/plain 887b
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/ and API2/Resource/ were modified and submitted to the maintainer.
Download (untitled) / with headers
text/plain 253b
I've applied the patch for renaming 2A, 4A, 2B, and 4B (leaving the old values as undocumented aliases in order to not break existing code). For the other sizes, I'd prefer to hold off until there's demand for them, rather than adding them proactively.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to