formatted glyph array
corrected x and y spacing of glyphs
calculated max height and width of glyphs