Fixed issues with non-distance field font textures.

* fixed issues relating to non-distance field font textures.
* removed dead code
* added xml schema defining the xml export format