Font 'STSongStd-Light' with 'UniGB-UCS2-H' is not recognized.

com.lowagie.text.DocumentException: Font 'STSongStd-Light' with 'UniGB-UCS2-H' is not recognized.
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
at iText.doc.CreateWordDemo.createDocContext(CreateWordDemo.java:26)

at iText.doc.CreateWordDemo.main(CreateWordDemo.java:79)


修改:iTextAsian.jar 的包名,修改为:com.itextpdf.text.pdf.fonts

你可能感兴趣的:(Font 'STSongStd-Light' with 'UniGB-UCS2-H' is not recognized.)