kimo Posted May 21, 2008 Share Posted May 21, 2008 Hello, I'm a biginer in IREPORT, i tried to use "Identity-H (Unicode with horizontal writing)" but i get this exception net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : ARIAL.TTF pdfEncoding : Identity-H isPdfEmbedded : true this a part of my jrxl where i use this font <textField .... <font fontName="Arial" pdfFontName="ARIAL.TTF" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{xml_prestation_achat}]]></textFieldExpression> </textField> if you have any solution im ready to try it. sorry about my bad english :blush:i can't make better Kimo Link to comment Share on other sites More sharing options...
kimo Posted May 23, 2008 Author Share Posted May 23, 2008 :P Link to comment Share on other sites More sharing options...
arunsdharan Posted October 23, 2008 Share Posted October 23, 2008 The problem is that its not getting the font path. You need to give the absolute path such as c:windowsfontsArial.ttf. Then only it will take the fonts. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now