diff options
Diffstat (limited to 'doc/genps.pl')
-rwxr-xr-x | doc/genps.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/genps.pl b/doc/genps.pl index c7c23cf..222db8a 100755 --- a/doc/genps.pl +++ b/doc/genps.pl @@ -1148,6 +1148,13 @@ if ( defined($metadata{epslogo}) && $x = ($psconf{pagewidth}-$width*$scale)/2; $y = ($psconf{pageheight}-$height*$scale)/2; + if ( defined($metadata{logoxadj}) ) { + $x += $metadata{logoxadj}; + } + if ( defined($metadata{logoyadj}) ) { + $y += $metadata{logoyadj}; + } + print "BeginEPSF\n"; print $x, ' ', $y, " translate\n"; print $scale, " dup scale\n" unless ( $scale == 1 ); |