Package com.slurm.gf

Contains classes for parsing and manipulating "generic font" files.

See:
          Description

Class Summary
BOCCommand Encapsulates a boc command and its parameters.
CharLocCommand Encapsulates a charloc command and its parameters.
Command Abstract class to encapsulate a command in the generic font "language"" Concrete subclasses allow access to the fields of the various commands.
EOCCommand Encapsulates an eoc command.
GF2GIFCallback Set of callback functions to create GIF images of characters as they are encountered while parsing a generic font file.
GF2GIFs Application to convert a generic font file into a set of GIF image files.
GFFile Utility class for reading data out of a binary file that represents a generic font.
GFParser Class to parse a generic font file.
GFParserCallback Abstract class for handling commands encountered while parsing generic font files.
GFType Application emulating the behavior of the original gftype program by D. R. Fuchs.
GFTypeCallback This implemenation of GFParserCallback responds to generic font commands in such a way as to reproduce the behavior of the original gftype program.
NewRowCommand Encapsulates a newrow command and its parameters.
NoOpCommand Encapsulates a noop command.
PaintCommand Encapsulates a paint command and its parameters.
PostCommand Encapsulates a post command and its parameters.
PostPostCommand Encapsulates a postpost command and its parameters.
PreCommand Encapsulates a pre command and its parameters.
Scaled Class to represent a scaled integer, i.e., a multiple of 2-16.
SimpleGFParserCallback Simple concrete implementation of GFParserCallback that can be used for testing a GFParser.
SkipCommand Encapsulates a skip command and its parameters.
UndefinedCommand Convenience class to encapsulate commands found in a generic font file whose opcode does not correspond to that of any of the commands defined in the generic font language.
XXXCommand Encapsulates an xxx command and its parameters.
YYYCommand Encapsulates a yyy command and its parameters.
 

Exception Summary
GFBadCharException Thrown to indicate a format error encountered while parsing a character in a generic font file.
GFFileFormatException Thrown to indicate a format error in a generic font file.
 

Package com.slurm.gf Description

Contains classes for parsing and manipulating "generic font" files.

Generic font files, or .gf files, are the output of METAFONT, the wonderful font design system created by Professor Donald E. Knuth.

The classes here include a .gf file parser based on the gftype program by D. R. Fuchs, as well as a program to convert a .gf file into a collection of GIF images (one for each character in the font).