//使用Windows系统字体(解决中文显示问题) BaseFont baseFont = BaseFont.createFont("C:/Windows/Fonts/SIMYOU.TTF",BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED); Font font = new Font(baseFont); // 设置一段内容 Paragraph paragraph = new Paragraph(contents,font); //设置居中对齐 paragraph.setAlignment(Element.ALIGN_CENTER);