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

Report information
The Basics
Id:
130039
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
jidanni [...] jidanni.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
2.035



Subject: mention how to *get* the global mediabox
From: jidanni@jidanni.org
We read $pdf->mediabox($llx, $lly, $urx, $ury) Sets the global mediabox. OK, but also mention how to *get* the global mediabox. E.g., "what is the current height?"
On Wed Jul 10 22:00:46 2019, jidanni@jidanni.org wrote:
Show quoted text
> OK, but also mention how to *get* the global mediabox. E.g., "what is > the current height?"
See 124915 (resolved bugs).
On Wed Jul 10 22:00:46 2019, jidanni@jidanni.org wrote:
Show quoted text
> We read > $pdf->mediabox($llx, $lly, $urx, $ury) > Sets the global mediabox. > OK, but also mention how to *get* the global mediabox. E.g., "what is > the current height?"
There wasn't actually a method for getting the global boundary boxes, as it turns out. The closest you could get was to call get_mediabox on a page, which would default to the global mediabox if it hadn't been overridden. I've just updated mediabox, cropbox, bleedbox, trimbox, and artbox to do both getting and setting at both the PDF and page level.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.