Removed redundant code from font.cpp