Font FontChinese = null;
BaseFont bfChinese =BaseFont.createFont("c:\\WINDOWS\\Fonts\\simsun.ttc,1",BaseFont.IDENTITY_H ,BaseFont.EMBEDDED);
FontChinese = new Font(bfChinese, 12, Font.NORMAL);
new Paragraph("你好",FontChinese)用过了这个方法 但是写进去的还是乱码 希望高手解答
BaseFont bfChinese =BaseFont.createFont("c:\\WINDOWS\\Fonts\\simsun.ttc,1",BaseFont.IDENTITY_H ,BaseFont.EMBEDDED);
FontChinese = new Font(bfChinese, 12, Font.NORMAL);
new Paragraph("你好",FontChinese)用过了这个方法 但是写进去的还是乱码 希望高手解答
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货