[comp.sys.mac.programmer] Creating a downloadable font

jyp@wucs1.wustl.edu (Jerome Yvon Plun) (03/28/91)

We need to be able to mix characters from Times and Symbol without switching
back and forth between the fonts.  So, we have defined a new font which
uses elements of the Times and Symbol fonts; switching is handled by a
method similar to that used by "Fontographer".  The font definition is
fine, and works when we send raw PostScript to the printer.

We have also defined a Mac screen font with the same character mappings;
this also works fine and we can use it in applications (Microsoft Word,
Think C, MPW, ...).  Our problem occurs when we try to send the text to
the printer.  The printer driver does not seem to load the PostScript
font definition.

We looked at other such fonts generated by Fontographer and we put a similar
header (Title, CreationDate, Creator, Pages..).  
We also set the type to 'LWFN' and creator to 'LWRT', and put the file in
the System Folder but we can't get it to be recognized by the LaserWriter
driver and used to print our font.

What are we doing wrong?

Thanks.

Jerome

Jerome Plun	jyp@wucs1.wustl.edu       // Tell me why is it so hard to say
Dept of Computer Science                  // Brother don't you walk away
Washington University                     //
St. Louis, Mo                             // Hooters     "Zig Zag"

kaufman@neon.Stanford.EDU (Marc T. Kaufman) (03/29/91)

In article <1991Mar27.225805.9091@cec1.wustl.edu> jyp@wucs1.wustl.edu (Jerome Yvon Plun) writes:

>We have also defined a Mac screen font with the same character mappings;
>this also works fine and we can use it in applications (Microsoft Word,
>Think C, MPW, ...).  Our problem occurs when we try to send the text to
>the printer.  The printer driver does not seem to load the PostScript
>font definition.

You need a FOND for the font.  Deep in the FOND is a set of tables that
control the generation of the Postscript font file name from the style in
use.  The easiest thing to do, if the metrics are compatible with one of
the original fonts, is to copy the FOND and edit the base name.

Marc Kaufman (kaufman@Neon.stanford.edu)