Fix bugs in font configurations