Reorganized the font system and improved content serialization.