Jasper Reports Garamond Normal and Bold - JasperExportManager.exportReportToPdfStream how to support these fonts in generated PDF as embedded in PDF?

0

Hi,

I use maven dependency

<dependency>
            <groupId>net.sf.jasperreports</groupId>
            <artifactId>jasperreports</artifactId>
            <version>5.0.0</version>
</dependency>

a would like to generate PDF from .jrxml (.jasper/.jprint) with Garamond font. Could you recommend me how to? I have idea to make own maven artifact like:


<dependency>
            <groupId>net.sf.jasperreports</groupId>
            <artifactId>jasperreports-fonts</artifactId>
            <version>6.0.0</version>
        </dependency>

but not with Dejavu fonts family but Garamond or any other I would like to use in generated PDF.

Kind regards

Marek FECO


 

fecom's picture
2
Joined: Mar 1 2016 - 1:12pm
Last seen: 6 months 3 weeks ago

now i have problem that in pdf file even fonts are ignored and generated default font Helvetica

or I have received error message :

Error during rendering process: JasperReportRenderer:Could not load the following font :
pdfFontName   : Garamond
pdfEncoding   : Cp1252
isPdfEmbedded : true

similar like at http://developers.itextpdf.com/question/why-my-font-not-applied-when-i-c...

fecom - 3 years 5 months ago

0 Answers:

No answers yet
Feedback
randomness