implement rewriting of glyph files

Does not reproduce originally <empty/> xml elements, probably OK enough.
It rewrites the coordinates according to stripped left bearing; as well
as writing new advance values.