updating charachter mapping and deleting unneeded font types