issue  #5731: fix fontName error on win32