Check OS when setting gui font, choose correct format against the OS