JasperReports PDF export and fully embedded fonts


I'm wondering if it is possible to create a PDF report with "fully embedded fonts" using JasperReports 5.2.0 and iReport 5.5.0.

This is my configuration:






I have included extension fonts jars generated with "iReport - Tools - Options - Fonts - Export as extension".

The resulting PDF files are PDF/A-1a compliant but every font is "Embedded Subset" instead of fully embedded.

Maybe jasperreports add only the fonts actually used.

Do you have any suggestions or clarifications?

fvaleri-'s picture
Joined: Apr 22 2010 - 2:00am
Last seen: 6 years 1 month ago


Here is a link to get you started.



Java_Jasper - 7 years 7 months ago

Here is a link about embedding fonts from Adobe this is a pdf by the way.



Java_Jasper - 7 years 7 months ago

Thanks for the hints, I'm reading..

Meanwhile I can confirm that the default behaviour is to subsetting the fonts used in the document.

Is there a way to force embedding the entire font-set through jasperlib configuration? 

( this should be easy using iText directly.. )

fvaleri- - 7 years 7 months ago
show 5 more...

Now I see that there could be a restriction on fonts we use that lead to subsetting.

I need to do some tests with free fonts..

fvaleri- - 7 years 7 months ago

Just wondering why you would want more than the subset that's being used?  Isn't this some sort of optimization? Which is usually a good thing?

djohnson53 - 7 years 7 months ago
I agree with you but these are the specs. In the end this is a false problem and I suspect that the real point is the font types that must be shared with the printing system.
fvaleri- - 7 years 7 months ago

Hi, have you found a solution yet?

I am having the same problem, i need full font embedded but i am not able to....

vincenzo.ferrara - 6 years 5 months ago

Hi vincenzo, I have posted the solution for my case..

fvaleri- - 6 years 5 months ago

1 Answer:

Sorry guys, I was very busy that time and I forgot to post the solution.
What I really missed here was to copy all TTF and ICC files in "$JAVA_HOME/jre/lib/fonts"
Hope this help.
fvaleri-'s picture
Joined: Apr 22 2010 - 2:00am
Last seen: 6 years 1 month ago