some more reformatting
fix calculation of avgCharWidth.

It now ignores glyphs with zero width as required by the OS/2 table spec