Fixed problems in the system font replacement system.