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

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

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: 3 years 5 months 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 - 6 years 4 months ago

0 Answers:

No answers yet
Feedback
randomness