Embedding full font set in pdf

0

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: 1 year 11 months ago

2 Answers:

0

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
16258
Joined: May 1 2017 - 5:33pm
Last seen: 2 days 10 hours ago
0
gwise's picture
4
Joined: Dec 28 2016 - 4:18pm
Last seen: 2 years 1 day ago
Feedback