resolve the font inconsistent problem of mac os