lbelau Posted May 29, 2014 Posted May 29, 2014 Font Extensions do not work in JasperReports Server 5.5/HTML output
lbelau Posted May 29, 2014 Author Posted May 29, 2014 In order to solve that:- Add a font extension to the server- Place the resources involved under the "fonts" package.- Add the line net.sf.jasperreports.web.resource.pattern.fonts=fonts.* to WEB-INF/classes/jasperreports.properties fileFor example, if I would create a font extension myself and place the TTF files of the font extension jar under a package called: com.example.mypackage, then I would need to add a similar property to JRS, to ensure my font files are accessible by the controller who delivers them to the browser: net.sf.jasperreports.web.resource.pattern.teodorfonts=com/example/mypackage/.*
hozawa Posted June 5, 2014 Posted June 5, 2014 Yes, there was a bug report and it has been fixed in 5.5.2 and 5.6.0.
jenzi Posted August 11, 2014 Posted August 11, 2014 I still had the issue in 5.6.0 - but with the metioned entry in the jasperreports.properties it works fine
Steve Park Posted August 13, 2015 Posted August 13, 2015 Just to clarify, when you say add the font extension jar file to the fonts package, are you talking about the fonts folder under the active theme?Steve
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