Refactoring: FontMgr as a singleton instead of a global variable.