This question already has answers here:
How can I display “$£Ω€απ⅔” in Jasperserver PDF using iReport?
(2 answers)
How can I test if my font is rendered correctly in pdf?
(1 answer)
Jasper Reports PDF doesn't export cyrillic values
(1 answer)
How to export fonts in Gujarati-Indian Language to pdf?
(2 answers)
Closed 2 years ago.
I am trying to create pdf in Bengali language using jasper studio (TIBCO Jaspersoft® Studio 6.6.0 in Ubuntu 16.04)
Below is My Jrxml properties and style:
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="Sample DB"/>
<property name="net.sf.jasperreports.awt.ignore.missing.font" value="true"/>
<property name="net.sf.jasperreports.default.pdf.encoding" value="Identity-H"/>
<style name="Base" isDefault="true" fontName="SolaimanLipi" fontSize="18" pdfFontName="/home/shaon/Downloads/SolaimanLipi_20-04-07.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true"/>
This is showing correct preview in jasper studio:
But when I export pdf, bengali font gets distorted:
What am I doing wrong here? Any suggestion ?