AAF File Format

AAF Font is a type of game file used to store fonts in Fallout and Fallout 2.

Information
The AAF file stores a separate glyph for each of the 256 position in the ASCII table. The fonts in an AAF file are typically non-fixed size, i.e. each glyph has its own width and height. A glyph is defined by a rectangular bitmap representing the pixels of the glyph, corresponding to the way that it appears on the screen. Each pixel can have a possible value in the range of 0 to 9.


 * 0 means that the pixel is transparent.
 * The values 1 to 9 represent the relative brightness of that pixel, with 9 being the brightest. There does not appear to be a linear increase in brightness from values 1 to 9.

Here is an example of the bitmap of a glyph. This glyph is from the file FONT1.AAF and represents the character 'b' (ASCII 98). 77      77       777763   77  76   77  77   77  76   777763

Pixels with value 0 are not shown as they are transparent. The higher numbers 7 and 6 represent the brighter parts of the glyph, while the 3 would be much duller in color. This would be expected for the rounder corners of the b.

External
Note: All integers are in Motorola format.
 * Created by Noid
 * Patched by Anchorite