[comp.soft-sys.andrew] Fonts in bdf form?

sbc@INFORMATICS.WUSTL.EDU (Steve Cousins) (07/31/90)

I just got MacX, and am trying to run my ATK-based applications on the Mac
screen.  Surprisingly, they actually run fine, but of course MacX doesn't
have any of the Andrew fonts.  MacX has a tool to compile bdf fonts, but
all I see in the andrew distribution are fdb fonts -- and they look different.
Is there an fdb to bdf tool around, or how would you suggest adding the fonts
to MacX?  Has anyone tried this?

Thanks for any details.

Steve Cousins
Medical Informatics Laboratory
Washington University, St. Louis

sbc@informatics.wustl.edu

janssen@parc.xerox.com (Bill Janssen) (07/31/90)

I just did this, by running a find script on the Andrew sources to find
all .fdb files, and put them in a single directory, then running fdb2bdf
on each file in that directory.  Here's fdb2bdf.  Note that it assumes
you have fdbbdf on your search path (presumably in ${ANDREWDIR}/bin).

    #!/bin/csh
    sed -e 's/^$spacing \(.*\),.*$/$spacing \1,0/' ${1:r}.fdb >
    /tmp/${1:r}.tfdb
    fdbbdf /tmp/${1:r}.tfdb >${1:r}.bdf
    rm /tmp/${1:r}.tfdb

Bill

nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (07/31/90)

We're going through the same process with our Mac-based people here. 
Bill's information looks good, but does anyone know a way to automate
the font compiling process that handles the bdf files once you get them
on the Mac?  Right now it's pretty tedious...  Thanks.  -- Nathaniel