A system and methods that provide a simple, but effective, technique for
generating aliased and anti-aliased fonts while minimizing both processor
and memory requirements are described. For each character of a font, a
source pixel representation of the character is generated and stored in
memory. Preferrably, the pixels of each anti-aliased character are divided
among at least three non-overlapping regions which provide a
color/intensity transition between the character and the background to
produce an anti-aliased effect. Three of the regions are identified as the
foreground region, middle region and background region. To generate a
character of the font on a display the source pixel representation of the
character described by the three regions is referenced from memory. If the
character is to be aliased the middle and background regions are coded to
the background color and the foreground region is coded to the foreground
color of the character. If the character is to be anti-aliased, the
foreground, middle and background regions are coded, respectively, to the
color of the character, a value to provide an anti-aliased effect, and the
background color. Thus, memory requirements are minimal since only one
version of a font is stored. In addition, processor overhead is minimized
as the time consuming calculations to generate anti-aliased characters are
avoided.