HylaFAX The world's most advanced open source fax server

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

HylaFAX on SCO 5.0.x, textfmt failing?



Hi y'all,

To add to the problems on the list of running on SCO Openserver 5,
I'm having problems with textfmt recognising the Fontmap correctly.
I'm running ghostscript 5 which stores the fonts in
/usr/local/share/ghostscript/fonts.

My /usr/local/lib/fax/hyla.conf has:

    FontMap:    /usr/local/share/ghostscript/5.50/Fontmap
    FontPath:   /usr/local/share/ghostscript/fonts

But sendfax reports:

    1-kiwi:~,8:58am> sendfax -vv -d 4154250 .tcshrc
    Trying localhost (127.0.0.1) at port 4559...
    Connected to localhost.logisticsoftware.co.nz.
    220 kiwi.logisticsoftware.co.nz server (HylaFAX (tm) Version 4.1beta2) ready.
    -> USER jonc
    230 User jonc logged in.
    match against (..., 512)
    rule: offset 0 string = "%!" -- failed (comparison)
    rule: offset 0 short = 0x4d4d -- failed (comparison)
    rule: offset 0 short = 0x4949 -- failed (comparison)
    rule: offset 0 short = 0x1da -- failed (comparison)
    rule: offset 0 short = 0x1f1e -- failed (comparison)
    rule: offset 0 short = 0x1f9d -- failed (comparison)
    rule: offset 0 short = 0x506 -- failed (comparison)
    rule: offset 0 short = 0x5343 -- failed (comparison)
    rule: offset 0 short = 0xf702 -- failed (comparison)
    rule: offset 0 string = "GIF" -- failed (comparison)
    rule: offset 0 long = 0x59a66a95 -- failed (comparison)
    rule: offset 0 string = "x T psc" -- failed (comparison)
    rule: offset 0 string = "begin" -- failed (comparison)
    rule: offset 0 string = "xbtoa" -- failed (comparison)
    rule: offset 0 string = "P1" -- failed (comparison)
    rule: offset 0 string = "P2" -- failed (comparison)
    rule: offset 0 string = "P3" -- failed (comparison)
    rule: offset 0 string = "P4" -- failed (comparison)
    rule: offset 0 string = "P5" -- failed (comparison)
    rule: offset 0 string = "P6" -- failed (comparison)
    rule: offset 0 string = "WNGZWZSS" -- failed (comparison)
    rule: offset 0 string = "#Inventor V" -- failed (comparison)
    rule: offset 0 ascii = -- success (result postscript, rule "%F/textfmt -B -f Courier-Bold -p 11 -s %s >%o <%i")
    CONVERT "/usr/local/sbin/textfmt -B -f Courier-Bold -p 11 -s default >/tmp/faxsnda005hB <.tcshrc"
    /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 -p 11 -s default >/tmp/faxsnda005hB <.tcshrc"
    1-kiwi:~,8:58am>

---------------
It looks like textfmt isn't quite recognising the Fontmap file
correctly, due to an indirection?

    1-kiwi:~,9:00am> grep Courier Fontmap
    /Courier                    /NimbusMonL-Regu        ;
    /Courier-Oblique            /NimbusMonL-ReguObli    ;
    /Courier-Bold               /NimbusMonL-Bold        ;
    /Courier-BoldOblique        /NimbusMonL-BoldObli    ;
    % Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
    1-kiwi:~,9:00am> grep Courier Fontmap
    /NimbusMonL-Regu        (n022003l.pfb)  ;
    /NimbusMonL-ReguObli    (n022023l.pfb)  ;
    /NimbusMonL-Bold        (n022004l.pfb)  ;
    /NimbusMonL-BoldObli    (n022024l.pfb)  ;
    /Courier                    /NimbusMonL-Regu        ;
    /Courier-Oblique            /NimbusMonL-ReguObli    ;
    /Courier-Bold               /NimbusMonL-Bold        ;
    /Courier-BoldOblique        /NimbusMonL-BoldObli    ;
    1-kiwi:~,9:00am>

Someone available to look at the code?

Cheers.
--
Jonathan Chen
----------------------------------------------------------------------
                      When the character of a man is not clear to you,
                                                  look at his friends.




Project hosted by iFAX Solutions