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] AW: font metrics



On Mon, 2003-03-17 at 19:03, Thorsten Späth wrote:

> Well, this is the most common problem I always had the last weeks when
> installing the sourcebuilds. After strace-ing the whole thing,
> it is the problem, that the font metrics files usually used for it are not
> in the standard gs dirs extracted by the setup script.

i've seen this problem popup elsewhere on the net, but apparently nobody
has a real solution for it.  imo this should be tackled by the
developers.

> I always had to add the path manually to the "DIR_AFMS" directive in the
> configure script, symlink it to an existing directory or in the defs file.
> (last one only after running configure!)

i checked the AFMS_DIR directive in the configure script, and the path
where my font metrics are is in the list of "guess paths", so that
shouldn't be a problem either should it?

> Usually it looks for "n022003l.afm" in this "font"case here.

i don't seem to find that file though.

any other suggestions

thanks

tom

> -----Ursprüngliche Nachricht-----
> Von: hylafax-users-bounce@hylafax.org
> [mailto:hylafax-users-bounce@hylafax.org] Im Auftrag von Tom Schouteden
> Gesendet: Montag, 17. März 2003 17:28
> An: Ian Firla
> Cc: hylafax-users@hylafax.org
> Betreff: Re: [hylafax-users] font metrics
> 
> 
> On Mon, 2003-03-17 at 17:20, Ian Firla wrote:
> > Do you get errors when you run faxsetup?
> 
> I do get two warnings concerning 'vgetty' and 'egetty' but I don't think
> they have anything to do with it, do they?  Then it just asks me if it
> should restart the server processes and quits nicely.
> 
> tom
> 
> > On 17 Mar 2003, Tom Schouteden wrote:
> > 
> > > On Mon, 2003-03-17 at 17:12, Ian Firla wrote:
> > > > Are the locations in the errors the same as the locations in the conf
> > > > file?
> > >
> > > There is no location in the error message.  This is the entire message:
> > >
> > > burns:/# sendfax -d 123456789 /etc/hosts
> > > /usr/local/sbin/textfmt: No font metric information found for
> > > "Courier-Bold".
> > > Usage: /usr/local/sbin/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 Courier -1 -p 11bp -o 0
> > > Error converting data; command was "/usr/local/sbin/textfmt -B -f
> > > Courier-Bold  -Ml=0.4in -p 11 -s default >/tmp//sndfaxtXvv6O
> > > </etc/hosts"
> > > burns:/#
> > >
> > > > When I had this problem, I resolved it by creating symlinks to the
> > > > directories that faxconfig through up.
> > >
> > > I already made symlinks to every directory imaginable.  I can't imagine
> > > where it would look for fonts elsewhere. Faxconfig doesn't cough up any
> > > directories, I haven't even used that command ...
> > >
> > > tom
> > >
> > > > On 17 Mar 2003, Tom Schouteden wrote:
> > > >
> > > > > On Mon, 2003-03-17 at 17:04, Ian Firla wrote:
> > > > > > Try creating symlinks to the AFM directories from where Hylafax
> looks for
> > > > > > the font info.
> > > > >
> > > > > Hi Ian
> > > > >
> > > > > If HylaFAX really looks in the directory which I specified in the
> > > > > hyla.conf file, the font metrics are already there.  So that
> wouldn't
> > > > > make a difference.  When I run a `gs -h` and check for the Search
> path,
> > > > > the fonts are already there as well.
> > > > >
> > > > > any other suggestions?
> > > > >
> > > > > thanks
> > > > >
> > > > > tom
> > > > >
> > > > > > On 17 Mar 2003, Tom Schouteden wrote:
> > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > I've been working on this issue for a couple of hours now and
> have
> > > > > > > searched through the online documentation, faq's and mailinglist
> archive
> > > > > > > with no result, even though this seems to be a fairly common
> problem.
> > > > > > >
> > > > > > > I'm installing HylaFAX 4.1.5 on a Debian Unstable (2.4.19)
> system, using
> > > > > > > AFPL Ghostscript 8.00.  Everything is compiled from source and
> without
> > > > > > > errors.  Yet when I try to use sendfax, I get the error message:
> > > > > > >
> > > > > > > burns:~/fax# sendfax -d 123456789 /etc/hosts
> > > > > > > /usr/local/sbin/textfmt: No font metric information found for
> > > > > > > "Courier-Bold".
> > > > > > >
> > > > > > > I've installed the AFM font metric package and copied the fonts
> to every
> > > > > > > fontdir you can imagine.  I also created and edited the
> hyla.conf file
> > > > > > > with the following lines:
> > > > > > >
> > > > > > > FontMap:                /usr/local/share/ghostscript/8.00/lib
> > > > > > > FontPath:               /usr/local/share/ghostscript/8.00/lib
> > > > > > >
> > > > > > > What am I doing wrong?  I tried everything, IMO, and it's still
> not
> > > > > > > working :(.  Any help would be greatly appreciated.
> > > > > > >
> > > > > > > thanks
> > > > > > >
> > > > > > > tom
> > > > > > >
> > > > > > >
> > > > > > > ____________________ 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@hylafax.org
> < /dev/null
> > > > > > >   *To learn about commercial HylaFAX(tm) support, mail
> sales@hylafax.org.*
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > ------------
> > > > > > Dr Ian Firla
> > > > > > Robert Graves Trust		| "A partial count of the software
> available
> > > > > > St John's College, Oxford       | in just one noncommerical Linux
> system
> > > > > > OX1 3JP - +44-(0)7855-310565	| would have cost about $1.9 billion
> to develop
> > > > > > http://www.robertgraves.org	| ... the way Microsoft does it"
> Bruce Perens
> > > > > Tom Schouteden
> > > > > Consultant
> > > > >
> > > > > Linugen
> > > > > Borkelstraat 2/4
> > > > > B2900 Schoten
> > > > > Belgium
> > > > > T +32 3 685 39 81
> > > > > F +32 3 293 33 43
> > > > > M +32 475 45 85 55
> > > > > www.linugen.com
> > > > >
> > > > >
> > > > > ____________________ 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@hylafax.org <
> /dev/null
> > > > >   *To learn about commercial HylaFAX(tm) support, mail
> sales@hylafax.org.*
> > > > >
> > > > >
> > > >
> > > > ------------
> > > > Dr Ian Firla
> > > > Robert Graves Trust		| "A partial count of the software
> available
> > > > St John's College, Oxford       | in just one noncommerical Linux
> system
> > > > OX1 3JP - +44-(0)7855-310565	| would have cost about $1.9 billion
> to develop
> > > > http://www.robertgraves.org	| ... the way Microsoft does it"
> Bruce Perens
> > > >
> > > >
> > > >
> > > > ____________________ 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@hylafax.org <
> /dev/null
> > > >   *To learn about commercial HylaFAX(tm) support, mail
> sales@hylafax.org.*
> > > Tom Schouteden
> > > Consultant
> > >
> > > Linugen
> > > Borkelstraat 2/4
> > > B2900 Schoten
> > > Belgium
> > > T +32 3 685 39 81
> > > F +32 3 293 33 43
> > > M +32 475 45 85 55
> > > www.linugen.com
> > >
> > >
> > 
> > ------------
> > Dr Ian Firla
> > Robert Graves Trust		| "A partial count of the software available
> > St John's College, Oxford       | in just one noncommerical Linux system
> > OX1 3JP - +44-(0)7855-310565	| would have cost about $1.9 billion to
> develop
> > http://www.robertgraves.org	| ... the way Microsoft does it" Bruce
> Perens
> > 
> > 
> > 
> > ____________________ 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@hylafax.org <
> /dev/null
> >   *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*
> Tom Schouteden
> Consultant
> 
> Linugen
> Borkelstraat 2/4
> B2900 Schoten
> Belgium
> T +32 3 685 39 81
> F +32 3 293 33 43
> M +32 475 45 85 55
> www.linugen.com
> 
> 
> ____________________ 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@hylafax.org < /dev/null
>   *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*
> 
> 
> 
> ____________________ 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@hylafax.org < /dev/null
>   *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*


____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions