MakeRasterFont.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Michael Plass, May 20, 1985 2:13:58 pm PDT
DIRECTORY
ImagerFont USING [Font],
RasterFontIO USING [InternalFont],
Rope USING [ROPE];
MakeRasterFont: CEDAR DEFINITIONS
~ BEGIN
ROPE: TYPE ~ Rope.ROPE;
Font: TYPE ~ ImagerFont.Font;
InternalFont: TYPE ~ RasterFontIO.InternalFont;
FromFont: PROC [font: Font] RETURNS [InternalFont];
ConvertFile: PROC [outputFileName: ROPE, fontName: ROPE, size: REAL, rotation: REAL, bitsPerInch: REAL];
Does a whole file. There is an executive comand to do this.
fontName is the full hierarchial name (i.e., Xerox/Pressfonts/Timesroman/MRR)
size is in pixels
rotation is in degrees
bitsPerInch is only used for AC fonts
output file format is derived from the output name
END.