fecom Posted March 1, 2016 Share Posted March 1, 2016 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 regardsMarek FECO Link to comment Share on other sites More sharing options...
fecom Posted March 1, 2016 Author Share Posted March 1, 2016 now i have problem that in pdf file even fonts are ignored and generated default font Helveticaor I have received error message :Error during rendering process: JasperReportRenderer:Could not load the following font :pdfFontName : GaramondpdfEncoding : Cp1252isPdfEmbedded : truesimilar like at http://developers.itextpdf.com/question/why-my-font-not-applied-when-i-create-pdf-document Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now