diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/gropdf/gropdf.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl index c2745fb17..b1e274b95 100644 --- a/src/devices/gropdf/gropdf.pl +++ b/src/devices/gropdf/gropdf.pl @@ -323,6 +323,10 @@ elsif (substr($papersz,-1) eq 'l' and exists($ppsz{substr($papersz,0,-1)})) # Note 'legal' ends in 'l' but will be caught above @defaultmb=@mediabox=(0,0,$ppsz{substr($papersz,0,-1)}->[1],$ppsz{substr($papersz,0,-1)}->[0]); } +else +{ + Warn("ignoring unrecognized paper format '$papersz'"); +} my (@dt)=localtime($ENV{SOURCE_DATE_EPOCH} || time); my $dt=PDFDate(\@dt); |