我想代表碧玉報告阿拉伯語的字體,所以我按照自定義字體擴展方法和添加一個阿拉伯字體作爲一個擴展「安達盧斯或宋體的Unicode MS」自定義字體編碼
但是,當我嘗試
我得到了一個異常
Exception in thread "main" net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font :
pdfFontName : Helvetica
pdfEncoding : Identity-H
isPdfEmbedded : true
Caused by: ExceptionConverter: java.io.UnsupportedEncodingException: Identity-H
MY JXML如下
<textElement>
<font fontName="Andalus" size="12" pdfEncoding="Identity-H"/>
</textElement>
環境設置
- 碧玉報告4.5
- Windows 7的
- JDK jdk1.6.0_17
誰能幫有什麼不對的字體或推薦特定的罐子?