font extension to display chinese chart in HTML and PDF file


I am using jasperreports-server-cp-7.1.0

I need generator PDF and HTML file   at one schedule report

I found a problem:

  1. if I used font extension jar file :I can generator PDF file displayed Chinese ,but I can't send mail attach HTML file(message size 217944897 exceeds size limit 37748736 of server)
  2. if I didn't used font extension jar file:I can generator PDF file can't displayed Chinese,but I can send mail attach HTML file


I guess that Maybe the font extension jar file copyed into HTML file?

How could I do ?try to re-write Itext class?

Please help me,thank you.

otaku119jaspersoft's picture
Joined: Jan 9 2019 - 7:38pm
Last seen: 2 months 1 week ago

1 Answer:


Have you tried post processing generated html file to specify "@font-face".

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 16 hours 58 min ago