true type fonts on linux

From: Albert Wagner (alwagner@tcac.net)
Date: Fri Sep 13 2002 - 08:32:07 EDT

  • Next message: June: "proofing with AbiWord"

    I am attempting to utilize the MSCoreFonts in Abiword. I already have these
    ttf fonts installed correctly in XFree86-4.2. At this url:
            http://www.abisource.com/twiki/bin/view/Abiword/UnixFaqTrueTypeFonts
    I attempted the following:
    ---------------------------------------------------------------------
    Generating .afm and .u2g Files

    AbiWord needs .afm and .u2g files for each font file to do accurate printing
    and glyph name translation. Generate these with the ttftool that comes with
    AbiWord:

     # cd /usr/share/fonts/MSCoreFonts
     # for f in `ls *.ttf`; do /usr/share/AbiSuite/bin/ttftool -f $f -u `echo $f |
    sed 's/ttf$/u2g/;'` -a `echo $f | sed 's/ttf$/afm/;'`;done
    ----------------------------------------------------------------------
    The above two commands were modified for my installation:

    cd /usr/share/fonts/monotype/TrueType
    for f in `ls *.ttf`; do ttftool -f $f -u `echo $f | sed 's/ttf$/u2g/;'` -a
    `echo $f | sed 's/ttf$/afm/;'`;done

    Yet, I get the following errors:
    Error: ttftool(file andalemo.ttf): cannot open font file [andalemo.ttf] for
    reading
    <one error for each *.ttf>

    Read permissions are set properly. What is ttftool trying to tell me?

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Fri Sep 13 2002 - 13:36:26 EDT