HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Hylafax Font Metric Errors



/etc/hylafax/hyla.conf includes the following two lines:  

# FontMap/FontPath added by faxsetup (Mon Apr 19 02:14:10 EDT 2004)
FontMap:  
/usr/local/lib/ghostscript/common:/usr/local/lib/ghostscript/7.07:
	/usr/local/lib/ghostscript/fonts:/usr/local/share/ghostscript/common:
	/usr/local/share/ghostscript/7.07:/usr/local/share/ghostscript/fonts:
	/var/lib/defoma/gs. d/dirs/fonts:/usr/share/ghostscript/common:
	/usr/share/gs/7.07

FontPath: 
/usr/local/lib/ghostscript/common:/usr/local/lib/ghostscript/7.07:
	/usr/local/lib/ghostscript/fonts:/usr/local/share/ghostscript/common:
	/usr/local/share/ghostscript/7.07:/usr/local/share/ghostscript/fonts:
	/var/lib/defoma/gs. d/dirs/fonts:/usr/share/ghostscript/common:
	/usr/share/gs/7.07

There is no mention of 
/usr/share/fonts/default/Type1 

although I have both:  
/etc/X11/fonts/Type1  and 
/var/usr/X11R6/lib/X11/fonts/Type1

Should I add these directories to the paths layed out in
/etc/hylafax/hyla.conf?  

-- Hugh 

On Mon, 19 Apr 2004 17:46:48 +0200
Giulio Orsero <giulioo@xxxxxxxxx> wrote:

> On 19 Apr 2004 15:25:44 -0000, hesco@xxxxxxxxxx wrote:
> 
> >hesco@biko:~$ ./fax.sh
> >Password:
> >textfmt: No font metric information found for "Courier-Bold".
> >Usage: textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-F fontdir(s)]
> >[-m N] [-o #] [-p #] [-r] [-U] [-Ml=#,r=#,t=#,b=#] [-V #] files...
> >>out.ps
> >Default options: -f com -1 -p 11bp -o 0
> >Error converting data; command was "textfmt -B -f Courier-Bold
> 
> You get this because you are using an old version (4.1.1); new
> versions would have setup themselves automatically.
> 
> When you compile HylaFAX the font paths you see with "gs -h" are
> hardcoded into the executables. If you run HylaFAX on the same system
> where you compiled it all is ok; otherwise you need to tell it where
> to find the fonts.
> Ask debian where they put the hyla.conf config file (try "locate
> hyla.conf") and add to it the correct font path, like (these are 2
> lines, will be word-wrapped):
> 
> FontMap:
> "/usr/share/ghostscript/5.10:/usr/share/fonts/default/ghostscript:
> /usr/share/fonts/default/Type1"
> 
> FontPath:
> "/usr/share/ghostscript/5.10:/usr/share/fonts/default/ghostscript:
> /usr/share/fonts/default/Type1"
> 
> you need to fill in the path you see doing "gs -h".
> 
> -- 
> giulioo@xxxxxxxxx
> 
> ____________________ HylaFAX(tm) Users Mailing List
> _______________________
>   To subscribe/unsubscribe, click
>   http://lists.hylafax.org/cgi-bin/lsg2.cgi
>  On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
>  /dev/null
>   *To learn about commercial HylaFAX(tm) support, mail
>   sales@xxxxxxxxx*
> 


-- 
+---------------------------------------------  
|  Hugh Esco, <hesco@xxxxxxxxxx> 404-806-0480
|  Political Coordinator, Georgia Green Party 
|  Post Office Box 5332; Atlanta GA 31107 
|  http://www.greens.org/georgia/ 
+---------------------------------------------  

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions