itext中文文档 java生成pdf用itext包不支持中文问题到底如何解决?

java生成pdf用itext包不支持中文问题到底如何解决?文档.打开()//itext显示使使(Windows字体(TrueType)BaseFont BaseFont=BaseFont.creat

java生成pdf用itext包不支持中文问题到底如何解决?

文档.打开()//itext显示使使(Windows字体(TrueType)BaseFont BaseFont=BaseFont.createFont(“C:/Windows/Fonts)/西姆尤.TTF", BaseFont.IDENTITYu H, BaseFont.NOT嵌入)Font Font=new Font(baseFont)PdfPCell cell=new PdfPCell(新建)短语(“序号”,字体)