Jump to content
Changes to the Jaspersoft community edition download ×

Asia Font problems


solitaryreach

Recommended Posts

All the Asia Fonts are showed as blank in the PDF. I had tried  to make a font extention by following the procedure that introduce in the Font Extention page. Then I imported the font extention jar package into the project and restarted the server. But it didn`t work and throwed an exception :

Font "STsong2" is not available to the JVM. See the Javadoc for more details.

I was infomed that the JVM doesn`t have the target font STsong2.  Then I put the font file into the classpath. It still throwed the same exception. 

So, how can I fix this issue by font extention or other convenience way?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The font jar file needs to be added to ../WEB-INF/lib directory (followed by a JR server restart)

For reports in PDF, add the jar to the report as a resource. See this section:

9.3 Deploying Font Extensions to JasperReports Server

from the Studio User guide 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...