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 10:58:03 -0400 (EDT)

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

Thanks, John.  I've added Deri to the CC list because we have once again
reached the limits of my knowledge and/or confident judgement.

[comment #12 comment #12:]
> Yes, the build now ends with:
> 
> 
> gropdf:contrib/mom/examples/typesetting.mom: fatal error: unable to open
font
'/usr/local/Cellar/ghostscript/9.56.1/share/ghostscript/9.56.1/Resource/Font/C059-Roman'
for embedding
>   GROFF    doc/meref.me
>   GROFF    doc/meref.ps
>   GROFF    doc/meintro.me
>   GROFF    doc/meintro.ps
>   GROFF    doc/meintro_fr.me
>   GROFF    doc/meintro_fr.ps
>   GROFF    doc/ms.ps
>   GROFF    doc/pic.ps
>   GROFF    doc/groff-man-pages.pdf
> gropdf:src/utils/addftinfo/addftinfo.1: fatal error: unable to open font
'/usr/local/Cellar/ghostscript/9.56.1/share/ghostscript/9.56.1/Resource/Font/NimbusRoman-Italic'
for embedding
> make[1]: *** [doc/groff-man-pages.pdf] Error 1
> make[1]: *** Deleting file `doc/groff-man-pages.pdf'
> make: *** [all] Error 2
> 

Okay, this is really interesting.  Is this still from the build where you said
./configure
--with-urw-fonts-dir=/usr/local/Cellar/ghostscript/10.0.0_1/share/ghostscript/fonts
?

The attached download file suggests that it is.

And yet, stubbornly, gropdf is demanding the file from
/usr/local/Cellar/ghostscript/9.56.1/share/ghostscript/9.56.1/Resource/Font/.

Deri, do you have any idea what's going on here?  If I read the LoadDownload
subroutine correctly, it is called once, unconditionally, and as long as it
_finds_ the download file, it robotically sets up a hash mapping (foundry,
typeface) 2-tuples to file names read from the download file.  The download
file has only one filespec per font so it seems like it should be impossible
for this to go wrong.

https://git.savannah.gnu.org/cgit/groff.git/tree/src/devices/gropdf/gropdf.pl?id=dbb3a589698484c6b367df516167555ce51f053b#n614

What am I missing?


    _______________________________________________________

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]