On Sunday 16 Sep 2012 17:44:09 Werner LEMBERG wrote:
> > Warning: line 78: Failed to create groff font 'U-AB' by running
> > afmtodit
> 
> This means that the URW versions of the standard Postscript fonts are
> either not installed or located in a directory not found by a building
> script.  We are aware of this problem, and this will be eventually
> fixed.
> 
> > PS: I have a system-wide afmtodit in /usr/bin/afmtodit but I assume
> > this shouldn't be taken as afmtodit is part of groff?
> 
> Only groff has afmtodit.  Maybe it's an older version, but the above
> error is not due to that.
> 
> 
>     Werner

I'm actually working on this at the moment and I've found that if you are 
using debian (or possibly a debian derivative) and have the package "gsfonts" 
installed the attached Foundry.in file solves the problem if you replace the 
one from cvs in font/devpdf.

I am still working on a more robust solution which will stop the make failing 
if the required fonts are not found.

Cheers 

Deri
# Foundry file

# Copyright (C) 2011 Free Software Foundation, Inc.
#      Written by Deri James <d...@chuzzlewit.demon.co.uk>
#
# This file is part of groff.
#
# groff is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# groff is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

#=====================================================================
#Foundry|Name|Searchpath
foundry||(gs)

# These are just copies of the grops fonts so MUST not have any flags etc set

#Font|IsBase14|Flags|Map|Encoding|File(!file...)
AB|N||||URWGothicL-Demi!a010015l.pfb
ABI|N||||URWGothicL-DemiObli!a010035l.pfb
AI|N||||URWGothicL-BookObli!a010033l.pfb
AR|N||||URWGothicL-Book!a010013l.pfb
BMB|N||||URWBookmanL-DemiBold!b018015l.pfb
BMBI|N||||URWBookmanL-DemiBoldItal!b018035l.pfb
BMI|N||||URWBookmanL-LighItal!b018032l.pfb
BMR|N||||URWBookmanL-Ligh!b018012l.pfb
CB|Y||||NimbusMonL-Bold!n022004l.pfb
CBI|Y||||NimbusMonL-BoldObli!n022024l.pfb
CI|Y||||NimbusMonL-ReguObli!n022023l.pfb
CR|Y||||NimbusMonL-Regu!n022003l.pfb
EURO|N||||freeeuro.pfa
HB|Y||||NimbusSanL-Bold!n019004l.pfb
HBI|Y||||NimbusSanL-BoldItal!n019024l.pfb
HI|Y||||NimbusSanL-ReguItal!n019023l.pfb
HNB|N||||NimbusSanL-BoldCond!n019044l.pfb
HNBI|N||||NimbusSanL-BoldCondItal!n019064l.pfb
HNI|N||||NimbusSanL-ReguCondItal!n019063l.pfb
HNR|N||||NimbusSanL-ReguCond!n019043l.pfb
HR|Y||||NimbusSanL-Regu!n019003l.pfb
NB|N||||CenturySchL-Bold!c059016l.pfb
NBI|N||||CenturySchL-BoldItal!c059036l.pfb
NI|N||||CenturySchL-Ital!c059033l.pfb
NR|N||||CenturySchL-Roma!c059013l.pfb
PB|N||||URWPalladioL-Bold!p052004l.pfb
PBI|N||||URWPalladioL-BoldItal!p052024l.pfb
PI|N||||URWPalladioL-Ital!p052023l.pfb
PR|N||||URWPalladioL-Roma!p052003l.pfb
S|Y||||StandardSymL!s050000l.pfb
TB|Y||||NimbusRomNo9L-Medi!n021004l.pfb
TBI|Y||||NimbusRomNo9L-MediItal!n021024l.pfb
TI|Y||||NimbusRomNo9L-ReguItal!n021023l.pfb
TR|Y||||NimbusRomNo9L-Regu!n021003l.pfb
ZCMI|N||||URWChanceryL-MediItal!z003034l.pfb
ZD|Y||||Dingbats!d050000l.pfb

#======================================================================

#Foundry|Name|Searchpath
foundry|U|(gs):/usr/share/fonts/type1/gsfonts :/opt/local/share/fonts/urw-fonts 
# the URW fonts delivered with ghostscript (may be different)
#Define Flags for afmtodit

r=-i 0 -m
i=-i 50
n=-n
s=-s

#Font|IsBase14|Flags|Map|Encoding|File
AB|N|r|textmap|text.enc|a010015l.pfb
ABI|N|i|textmap|text.enc|a010035l.pfb
AI|N|i|textmap|text.enc|a010033l.pfb
AR|N|r|textmap|text.enc|a010013l.pfb
BMB|N|r|textmap|text.enc|b018015l.pfb
BMBI|N|i|textmap|text.enc|b018035l.pfb
BMI|N|i|textmap|text.enc|b018032l.pfb
BMR|N|r|textmap|text.enc|b018012l.pfb
CB|N|nr|textmap|text.enc|n022004l.pfb
CBI|N|ni|textmap|text.enc|n022024l.pfb
CI|N|ni|textmap|text.enc|n022023l.pfb
CR|N|nr|textmap|text.enc|n022003l.pfb
HB|N|r|textmap|text.enc|n019004l.pfb
HBI|N|i|textmap|text.enc|n019024l.pfb
HI|N|i|textmap|text.enc|n019023l.pfb
HNB|N|r|textmap|text.enc|n019044l.pfb
HNBI|N|i|textmap|text.enc|n019064l.pfb
HNI|N|i|textmap|text.enc|n019063l.pfb
HNR|N|r|textmap|text.enc|n019043l.pfb
HR|N|r|textmap|text.enc|n019003l.pfb
NB|N|r|textmap|text.enc|c059016l.pfb
NBI|N|i|textmap|text.enc|c059036l.pfb
NI|N|i|textmap|text.enc|c059033l.pfb
NR|N|r|textmap|text.enc|c059013l.pfb
PB|N|r|textmap|text.enc|p052004l.pfb
PBI|N|i|textmap|text.enc|p052024l.pfb
PI|N|i|textmap|text.enc|p052023l.pfb
PR|N|r|textmap|text.enc|p052003l.pfb
S|N|sr|symbolmap||s050000l.pfb
TB|N|r|textmap|text.enc|n021004l.pfb
TBI|N|i|textmap|text.enc|n021024l.pfb
TI|N|i|textmap|text.enc|n021023l.pfb
TR|N|r|textmap|text.enc|n021003l.pfb
ZCMI|N|i|textmap|text.enc|z003034l.pfb
ZD|N|sr|dingbats.map||d050000l.pfb

#======================================================================

Reply via email to