bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54812] [PATCH] BuildFoundries.pl: Add the path for searching fonts


From: Bjarni Ingi Gislason
Subject: [bug #54812] [PATCH] BuildFoundries.pl: Add the path for searching fonts to a message
Date: Tue, 9 Oct 2018 20:19:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?54812>

                 Summary: [PATCH] BuildFoundries.pl: Add the path for
searching fonts to a  message
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Wed 10 Oct 2018 12:19:49 AM UTC
                Category: Font devpdf
                Severity: 3 - Normal
              Item Group: Build/Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:


>From 3599366913d1aa367b7c0283c8ddb9b2963c2c0a Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Wed, 10 Oct 2018 00:12:55 +0000
Subject: [PATCH] BuildFoundries.pl: Add the path for searching fonts to a
 message

  File "font/devpdf/util/BuildFoundries.pl":

  Show the path for searching fonts, when a font is not found.

  A warning is not complete, if the associated data is not shown.

  An example is:

BuildFoundries: warning: line 45: Unable to locate font(s)
NimbusSansNarrow-BdOblique,NimbusSanL-BoldCondItal,n019064l.pfb on the given
path(s):
/usr/share/ghostscript/9.25/Resource/Init :/usr/share/ghostscript/9.25/lib
:/usr/share/ghostscript/9.25/Resource/Font :/usr/share/ghostscript/fonts :
/var/lib/ghostscript/fonts :/usr/share/cups/fonts :
/usr/share/ghostscript/fonts :/usr/local/lib/ghostscript/fonts :
/usr/share/fonts  : /home/bg/git/groff/build/../font/devps :
/home/bg/git/groff/build/font/devps

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 font/devpdf/util/BuildFoundries.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/font/devpdf/util/BuildFoundries.pl
b/font/devpdf/util/BuildFoundries.pl
index fa1a32c9..30306c9b 100644
--- a/font/devpdf/util/BuildFoundries.pl
+++ b/font/devpdf/util/BuildFoundries.pl
@@ -107,7 +107,7 @@ sub LoadFoundry
                        {
                            $gotf=0;
                            my $fns=join(',',split('!',$r[5]));
-                           Warn("Unable to locate font(s) $fns on the given 
path(s)");
+                           Warn("Unable to locate font(s) $fns on the given
path(s):\n$foundrypath");
                            unlink $gfont;      # Unable to find the postscript 
file for the font just
created by afmtodit
                        }
                    }
-- 
2.19.1






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54812>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]