added getFontIndex function which gets the corresponding index in font.Bitmap for the character we're looking for.