summaryrefslogtreecommitdiff
path: root/src/devices/gropdf/pdfmom.pl
diff options
context:
space:
mode:
authorwl <wl>2012-09-20 07:48:28 +0000
committerwl <wl>2012-09-20 07:48:28 +0000
commit1be7153efcd1ccbfd4e10a1a4e4a7e1bc05ee2d5 (patch)
tree0340d5c8d90522c9f368cff8ef55aa91ec14ae13 /src/devices/gropdf/pdfmom.pl
parente550448b35d01423af2060554b8684d70c14be43 (diff)
downloadgroff-1be7153efcd1ccbfd4e10a1a4e4a7e1bc05ee2d5.tar.gz
[gropdf] Various minor fixes.
* font/devpdf/Foundry.in: Add font path to debian `gsfonts' package. * font/devpdf/util/BuildFoundries.pl: Handle missing fonts in a more sane way, do NOT abort the complete make run! * src/devices/gropdf/gropdf: Accept papersize names (i.e. A4) as either upper or lower case. The -p (papersize) option should be length,width (currently reversed - width,length) * src/devices/gropdf/pdfmom.pl: Support use of GROFF_BIN_PATH.
Diffstat (limited to 'src/devices/gropdf/pdfmom.pl')
-rw-r--r--src/devices/gropdf/pdfmom.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/gropdf/pdfmom.pl b/src/devices/gropdf/pdfmom.pl
index a03bc83d..8ba3c614 100644
--- a/src/devices/gropdf/pdfmom.pl
+++ b/src/devices/gropdf/pdfmom.pl
@@ -26,6 +26,8 @@ use strict;
my @cmd;
my $dev='pdf';
+$ENV{PATH}=$ENV{GROFF_BIN_PATH}.':'.$ENV{PATH} if exists($ENV{GROFF_BIN_PATH});
+
while (my $c=shift)
{
if (substr($c,0,2) eq '-T')