bug-groff
[Top][All Lists]
Advanced

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

[bug #62860] [gropdf] trying to access URW fonts from wrong directory


From: G. Branden Robinson
Subject: [bug #62860] [gropdf] trying to access URW fonts from wrong directory
Date: Mon, 10 Oct 2022 08:14:10 -0400 (EDT)

Follow-up Comment #9, bug #62860 (project groff):

Hi John,

It appears I updated the text of the wrong diagnostic.  But, there was only
one other with the exact same text (this is one reason I exhort _against_
writing the exact same text for multiple diagnostics).

If you apply the following one-line patch to the _gropdf.pl_ in your source
tree and re-run make, I'll bet you see the error messages change.


diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 50d07ca27..37f6e5644 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -2571,7 +2571,7 @@ sub GetType1
     my $f;
 
     OpenFile(\$f,$fontdir,"$file");
-    Die("failed to open '$file'") if !defined($f);
+    Die("unable to open font '$file' for embedding") if !defined($f);
 
     $head=GetChunk($f,1,"currentfile eexec");
     $body=GetChunk($f,2,"00000000") if !eof($f);


Thanks for the comprehensive build logs.  I now think the problem is that your
_download_ file for the gropdf driver is getting generated incorrectly.

Can you attach the following files from your build tree to this ticket?


./font/devpdf/Foundry
./font/devpdf/download



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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