一剑ghost  

2012年7月19日

摘要: Font '標楷體' is not available to the JVM.问题描述: 將ireport4.5中字體改為 ‘標楷體’后,進行報表列印會報出如下異常訊息: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '標楷體' is not available to the JVM. See the Javadoc for more details.問題原因: 此問題的原因是因為在Java虛擬機內不存在字體 ‘標楷體’, 所以解決方案就是將系統內的字體 (標楷體) 放到JVM中.解 阅读全文
posted @ 2012-07-19 21:47 一剑ghost 阅读(8983) 评论(0) 推荐(0)

2012年7月13日

摘要: $(document).keydown(function (e) { var doPrevent; // for IE && Firefox var varkey = (e.keyCode) || (e.which) || (e.charCode); if (varkey == 8) { var d = e.srcElement || e.target; if (d.tagName.toUpperCase() == 'INPUT' || d.tagName.toUpperCase() == 'TEXTAREA') { doPrevent = d. 阅读全文
posted @ 2012-07-13 21:02 一剑ghost 阅读(301) 评论(0) 推荐(0)