Jump to content

abdullah.mamun

Members
  • Posts

    4
  • Joined

  • Last visited

abdullah.mamun's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 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.
  2. I am new to jaspersrver.I am using jasperserver-6.2.0. My jrxml file query into database and produce dynamic report. Some of the data from database are Multi Bytes (chines, korean characters etc).I am calling jasper server api to get the report. Like this PDF: http://app1.kpp.com:9191/jasperserver/rest_v2/reports/reports/Report_1.0.pdf XLS: http://app1.kpp.com:9191/jasperserver/rest_v2/reports/reports/Report_1.0.xls HTML: http://app1.kpp.com:9191/jasperserver/rest_v2/reports/reports/Report_1.0.html XLS and HTML response are fine but for PDF multi bytes charactes are just blank. Any help would be highly appreciated. Thanks and Regards Mamun
×
×
  • Create New...