Fixed a bug in Font setting in Mac.