Changed representation of glyphs to make way for MDS layout implementation.