We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Define External font path

Hello,


How to define an external directory for fonts used in jasperreport.

thank you in advance for your response.

Hi Jerome,

Thanks for your inquiry. Could you please share some more detail about your query?

With Aspose.Words for JasperReports you can export reports from JasperReports and JasperServer to Microsoft Word document (DOC), Office Open XML (OOXML, DOCX), Rich Text Format (RTF), OpenDocument Text (ODT), Web page (HTML) and plain text (TXT) formats.

Please read product and features overview from here:
http://www.aspose.com/docs/display/wordsjasperreports/Product+Overview

Hi,

With iReport, i can create a fonts extension jar : (http://jasperreports.sourceforge.net/sample.reference/fonts/index.html)

When i deploy this jar in the classpath, the Aspose export can't find these fonts (font not find exception).
The native JasperReports export can find these fonts.

Hi Jerome,

Thanks for your inquiry. Could you please attach following files for testing? I will investigate the issue on my side and provide you more information.

  • Please supply us with the Jrxml files along with xml/csv data source
  • Please supply us with the .jrprint file of your jrxml.
  • Please supply us with the Aspose.Words code from your application.
  • Please share the output document which shows the undesired behavior
  • Please supply us with the expected document showing the desired behavior (You can create this document using Microsoft Word).

As soon as you get these pieces of information to us we’ll start our investigation into your issue.