How to set a custom font in jasper report using API or other way?

Hi,

I need to change the report font using a custom font "Old English MT" which i could achieve this by setting it using IReport / placing the font in my system.

But when the report file is executed in the server,  server is not recognizing the font.

Can someon provide me a sample code using api or provide a solution for this issue.

Thanks in advance.
czutshiAsked:
Who is Participating?
 
Pramod KumarCommented:
the same font should be present on the server as well. If you mean by jasperserver, then please upload the font there.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.