diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-11-09 02:18:14 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-11-12 13:17:16 -0600 |
commit | 93816091f3d8d0c7c8c0893155ac887613fa59a0 (patch) | |
tree | aa5d99abddccc20e2e491f9387cbad60ae3f0560 /font | |
parent | 775425c742935cfcd1a17df4379fc54c0c325a75 (diff) | |
download | groff-git-93816091f3d8d0c7c8c0893155ac887613fa59a0.tar.gz |
font/devpdf/util/BuildFoundries.pl: Fix code nits.
* font/devpdf/util/BuildFoundries.pl (LoadFoundry): Stop capitalizing
beginning of diagnostic message (per GNU Coding Standards). Drop
ellipsis from end since no further diagnostics relevant to that
message are expected. Trim trailing slashes from font path elements.
Diffstat (limited to 'font')
-rw-r--r-- | font/devpdf/util/BuildFoundries.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/font/devpdf/util/BuildFoundries.pl b/font/devpdf/util/BuildFoundries.pl index 03f5eeebf..1e7c416cb 100644 --- a/font/devpdf/util/BuildFoundries.pl +++ b/font/devpdf/util/BuildFoundries.pl @@ -141,7 +141,7 @@ sub LoadFoundry unlink $gfont; } } - Notice("Copied grops font $gfont...") if $gotf; + Notice("copied grops font $gfont") if $gotf; } else @@ -169,7 +169,7 @@ sub LoadFoundry } else { - Notice("Generated $gfont..."); + Notice("generated $gfont"); } } else @@ -266,6 +266,7 @@ sub LocateFile next if !defined($p) or $p eq ';' or $p eq ':'; $p=~s/^\s+//; $p=~s/\s+$//; + $p=~s@/+$@@; next if $p=~m/^\%rom\%/; # exclude %rom% paths (from (gs)) |