marzieh.beiraghdar
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by marzieh.beiraghdar
-
-
I am trying to add Tahoma font to jasper report in my web app. I use font extension mechanism.
This exception was thrown: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'TahomaFont' is not available to the JVM. See the Javadoc for more details.
Here is my font.xml file:
<fontFamiles> <fontFamily name="TahomaFont"> <normal>export/fonts/BTahoma.ttf</normal> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded> </fontFamily><fontFamiles>[/code]
and here is my jasperreports.properties file :
net.sf.jasperreports.extension.registry.factory.simple.font.families=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactorynet.sf.jasperreports.extension.simple.font.families.TahomaFont=export/fonts/fonts.xml[/code]
Also i have put Tahoma.ttf font file in my classpath. Here is the style tag in jasper report:
<style fontName="TahomaFont" name="tahoma"/>[/code]
Please let me know where i am going wrong. Thanks in advance.
Jasper Report export to xls (RTL)
in Products
Posted
I am trying to export excel jasper report in RTL mode.It does not appear that my report properties are working correctly. In this report I am using the below property to direct my excel sheet ti RTL.
I tried another way too:
None of the above solutions are working. Please,somebody help me out.