summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwl <wl>2012-06-13 06:37:40 +0000
committerwl <wl>2012-06-13 06:37:40 +0000
commit55f745e2aa96056a665089968d6969b07f80daa0 (patch)
tree17b6aa420f2b51c5f982793ab4356952748c4ad1 /src
parentdb1ff3858d79a189e9562a326fc587d3a65a6ae3 (diff)
downloadgroff-55f745e2aa96056a665089968d6969b07f80daa0.tar.gz
* src/devices/gropdf/gropdf.pl: When using variable page
sizes (with \X'papersize ...') ensure final page is correct size.
Diffstat (limited to 'src')
-rw-r--r--src/devices/gropdf/gropdf.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index ad198bcc..0084b952 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -301,6 +301,7 @@ while (<>)
if ($cpageno > 0)
{
+ $cpage->{MediaBox}=\@mediabox if $custompaper;
PutObj($cpageno);
OutStream($cpageno+1);
}