Jump to content
We've recently updated our Privacy Statement, available here ×

Pdf export failed for custom font


abdullah.mamun

Recommended Posts

Hi.

I have prepared a custom font jar and add the jar in /jasperreports-server-cp-6.2.1/apache-tomcat/webapps/jasperserver/WEB-INF/lib directory.

In my jrxml i Used these code for pdf

<property name="net.sf.jasperreports.default.pdf.encoding" value="Identity-H"/><property name="net.sf.jasperreports.default.pdf.font.name" value="Malgun Gothic"/><textElement textAlignment="Center" verticalAlignment="Middle"><font fontName="Malgun Gothic" size="10" pdfFontName="Malgun Gothic" pdfEncoding="Identity-H"/></textElement>[/code]

When I try to export as pdf I get the following error

{"message":"Could not load the following font: npdfFontName: MalgunnpdfEncoding: Identity-HnisPdfEmbedded : true","errorCode":"export.execution.rejected"}[/code]

I do not know what I am missing ?

Any help would be highly appreciated.

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...