[英]Jasper report Font not found exception
當我在Windows和Mac上使用jasper報告時,它工作正常,當我將我的應用程序部署到linux計算機並嘗試生成它引發的報告時
net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Times New Roman' is not available to the JVM. See the Javadoc for more details.
我知道我們可以通過在Linux機器上安裝缺少的字體來解決該問題(http://stackoverflow.com/questions/3987804/jasper-stops-finding-one-font)。 我的問題是, 我們能否將字體打包為jar並與application一起打包 。 這個怎么做 ?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.