• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1360
  • Last Modified:

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.
0
czutshi
Asked:
czutshi
1 Solution
 
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

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now