ivan.iakimenko Posted December 10, 2018 Share Posted December 10, 2018 We are using Jasper 6.4.0 and exporting PDFs with embedded fonts. The fonts show up as embedded subsets, not the full characterset of each font. Is there any way to change this setting in JasperReports so that the full fonts are embedded? This is a customer requirement. Here is what the font family looks like:<fontFamily name="SourceSansProLight"> <normal><![CDATA[fonts/SourceSansProLight/SourceSansPro-Light.ttf]]></normal> <pdfEncoding><![CDATA[identity-H]]></pdfEncoding> <pdfEmbedded><![CDATA[true]]></pdfEmbedded> <exportFonts/></fontFamily>[/code]If anyone has any experience with this, I would greatly appreciate your input. Thank you in advance! Link to comment Share on other sites More sharing options...
vchiem Posted December 17, 2018 Share Posted December 17, 2018 I have only seen PDF with embedded subset fonts because the report doesn't need all the characters for it to display. From what I found out, having the full characterset of the fonts embedded will make the PDF file size bigger...so not sure what the real advantage of having this requirement. There was an old post raised a while ago. Not sure whether it will work or not but you can review it and give it a try :https://community.jaspersoft.com/questions/821495/jasperreports-pdf-export-and-fully-embedded-fonts Link to comment Share on other sites More sharing options...
gwise Posted January 22, 2019 Share Posted January 22, 2019 https://github.com/pulmuone/JasperReport/tree/master/Report 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