[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] make fails creating U-<fontname>
From: |
Peter Schaffter |
Subject: |
Re: [Groff] make fails creating U-<fontname> |
Date: |
Sat, 26 May 2012 15:18:14 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, May 26, 2012, Deri James wrote:
> On Saturday 26 May 2012 10:02:22 Denis M. Wilson wrote:
> > On Fri, 25 May 2012 23:41:32 -0400
> >
> > Peter Schaffter <address@hidden> wrote:
> > > Building groff from the latest sources, 'make' terminates with
> > > Error 2 after multiple warnings of the sort
> > >
> > > Warning: line 78: Failed to create groff font 'U-AB' by running afmtodit
> >
> > In the file groff-current/font/devpdf You need to replace line
> > 68 or so with your own path to the URW font directory, eg I
> > used:
> >
> > foundry|U|(gs):/usr/share/fonts/type1/gsfonts
>
> The "(gs)" runs "gs -h", and then the search paths shown are
> searched for the fonts.
>
> Peter, what does "gs -h" yield on your system and where are the
> fonts actually located?
/home/peter/.fonts : /usr/share/ghostscript/9.04/Resource/Init :
/usr/share/ghostscript/9.04/lib :
/usr/share/ghostscript/9.04/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
Like Denis's setup, the URW fonts are actually located in
/usr/share/fonts/type1/gsfonts
Is there any way you can use something like
find /usr -path *.afm -exec dirname '{}' \; \
| sort | uniq | grep "gs\|gsfonts\|ghostscript"
and append the output to the gs -h font path? On my
system, the 'find' pipeline spits out
/usr/share/fonts/type1/gsfonts
which, on a Debian system, is where the URW fonts live (these days;
it seems to change with the years).
--
Peter Schaffter
Author of The Binbrook Caucus
http://www.schaffter.ca