在Print Preview里生成预覧: INFO: System.out log target started ... previous log messages could have been ignored. INFO: Registering fonts for the iText library; using a cached font registry. INFO: Completed font registration. Processing Report: C:\jfreereport\vivianjDemo\report3.xmlINFO: setReport(..): started pagination ...在从Print Preview里转换PDF的过程.出现以下信息: WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'UTF-8' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS936' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS936' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS932' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS950' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'UTF-16' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'UTF-8' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'ISO-2022-CN-GB' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'ISO-2022-JP' is not recognized. WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'ISO-2022-CN-CNS' is not recognized.
INFO: System.out log target started ... previous log messages could have been ignored.
INFO: Registering fonts for the iText library; using a cached font registry.
INFO: Completed font registration.
Processing Report: C:\jfreereport\vivianjDemo\report3.xmlINFO: setReport(..): started pagination ...在从Print Preview里转换PDF的过程.出现以下信息:
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'UTF-8' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS936' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS936' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS932' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'MS950' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'UTF-16' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'UTF-8' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'ISO-2022-CN-GB' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'ISO-2022-JP' is not recognized.
WARN: BaseFont.createFont failed. Key = Arial Unicode MSFont 'Arial Unicode MS' with 'ISO-2022-CN-CNS' is not recognized.
1:front 要选对 一般是sinsun code要选支持中文解码的,比如 ch -rh gb2312 ,gbk等
2:textAsia.jar打包要deploy进去
3:XML用UTF-8格式
4:text/html pagecoding=gb2312