Please somebody help me about font problem of Jasper Report.
I tried to use custom font(**DejaVu Sans Condensed**) when creating PDF in Jasper Report. But I got error from it.
I used **.jrxml** file for source code.
Here is my source code.
<property name="net.sf.jasperreports.awt.ignore.missing.font" value="true"/> <property name="net.sf.jasperreports.default.font.name" value="DejaVu Sans Condensed"/> <property name="net.sf.jasperreports.default.pdf.font.name" value="DejaVu Sans Condensed"/> <property name="net.sf.jasperreports.default.pdf.encoding" value="Identity-H"/> <property name="net.sf.jasperreports.default.pdf.embedded" value="false"/> <font fontName="DejaVu Sans Condensed" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="DejaVu Sans Condensed" pdfEncoding="Identity-H" isPdfEmbedded="false"/>[/code]
Even I set 'isPdfEmbedded=true', but same error.
There is no any Maven, Gradle. Only use **.jxrml** file
These are what I referred.
- http://www.77dev.com/2014/07/could-not-load-following-font-solved.html
- http://jasperreports.sourceforge.net/sample.reference/fonts/
- http://stackoverflow.com/questions/8985497/use-custom-fonts-when-creating-pdf-using-ireport
- http://stackoverflow.com/questions/3811908/jvm-fonts-and-jasperreports
P.S. My english is not good. So if you can't understand my question then please ask me again. Thanks.