1. To generate bitmaps of a font face for desired size and rendering mode.
2. Store 32 bit and 128 bit hashes ( using MurMurHash3 ) for all the characters in a font face.
Now to generate faulty glyphs for testing, I am planning to do these
1. Displacement of image on bitmap
2. Change the grayness of random pixels or a particular stem
3. Add / remove random pixels
4. Any combination of above