Jasper-report-maven-plugin icon indicating copy to clipboard operation
Jasper-report-maven-plugin copied to clipboard

Custom fonts is not available to the JVM

Open gasserm opened this issue 8 years ago • 0 comments

I'm using the plugin to compile the Jasper reports XML files using as based on the configuration below

com.alexnederlof jasperreports-plugin 2.0 process-sources jasper net.sf.jasperreports.engine.design.JRJdtCompiler src/main/resources/jasperreports src/main/resources/jasperreports .jasper true false 4 true org.codehaus.plexus.compiler.util.scan.StaleSourceScanner
	<additionalProperties>
		<net.sf.jasperreports.awt.ignore.missing.font>true</net.sf.jasperreports.awt.ignore.missing.font>
		<net.sf.jasperreports.default.pdf.font.name>Courier</net.sf.jasperreports.default.pdf.font.name>
		<net.sf.jasperreports.default.pdf.encoding>UTF-8</net.sf.jasperreports.default.pdf.encoding>
		<net.sf.jasperreports.default.pdf.embedded>true</net.sf.jasperreports.default.pdf.embedded>
	</additionalProperties>

</configuration>

but on the runtime I'm getting error that the custom font "is not available to the JVM", I'm using maven and already set its dependency to the pom file, and the reports refer to it.

regards,

gasserm avatar Nov 02 '16 09:11 gasserm