Thank you for yout advice. I have done exactly like it‘s written in chapter 9. It works fine in jasper standalone. In combination with my webapplication i get now this message
Information: context net.sf.jasperreports.engine.util.JRFontNotFoundException: Font "Arial Unicode MS" is not available to the JVM. See the Javadoc for more details. It is in the JVM of Jasper but not im the webapp
[/code]
Some more details.
The maven dependency
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>6.4.1</version>
</dependency>
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports-fonts</artifactId>
<version>6.0.0</version>
</dependency>
I call jasper with
final JasperPrint jasperPrint = JasperFillManager
.fillReport(dateinameA, hm, gCon);
// Export to PDF.
JasperExportManager.exportReportToPdfFile(jasperPrint,
outFileName);
Jasper calls C:UserspeterJaspersoftWorkspaceMyReports
No connection to the font.
The „Arial Unicode MS.jar“ is stored in the Java Build Path of my project.
Here you can see jasper combined with primefaces in my web app.
Call http://osretail.de/osRetail/ choose Sprache (language) english, login ,choose in the menue reports, click on report and in this dialog click on the button beside the dropdownlist (dont change the dropdownlist).
Now you will understand my problem. Maybe you have a tipp.
regards from Bavaria
Peter