Embedding full font set in pdf

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>

If anyone has any experience with this, I would greatly appreciate your input. Thank you in advance!

ivan.iakimenko's picture
Joined: Dec 10 2018 - 2:38pm
Last seen: 4 years 3 months ago

2 Answers:

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-expo...

vchiem's picture
36529
Joined: May 1 2017 - 5:33pm
Last seen: 3 days 18 hours ago
gwise's picture
54
Joined: Dec 28 2016 - 4:18pm
Last seen: 4 years 4 months ago
Feedback
randomness