#1 2014-12-09 12:41:09

philip_chan
Member
Registered: 2014-12-09

Custom fonts or Chinese fonts are not able to display in ReportServer

I deployed a jasper report jxml to server, but it is not able to display the Chinese fonts or even Times New Roman Fonts. Tomcat install in Windows platform.

Jasper report is able to display chinese in the iReport/JasperStudio.

how can I add custom fonts to ReportServer or it is Jasperreport issue?

Offline

#2 2014-12-12 17:37:05

Thorsten J. Krause
datenwerke
Registered: 2012-02-15
Website

Re: Custom fonts or Chinese fonts are not able to display in ReportServer

Hi Philip,

first of all, are you sure this is really a fonts problem? It might also be an encoding issue. Does it work if you export the report as html instead of pdf?
Usually on windows the system fonts are loaded automatically, but you can try to follow these instructions to build a jasper font extension for your font:
https://community.jaspersoft.com/wiki/ireport-fonts

Place the created .jar file in the WEB-INF/lib subdirectory of your reportserver installation and restart tomcat.

Cheers,
Thorsten

Offline

#3 2014-12-18 05:12:46

philip_chan
Member
Registered: 2014-12-09

Re: Custom fonts or Chinese fonts are not able to display in ReportServer

Thx, solved

Offline

Board footer

Powered by FluxBB