JasperReports PDF export and fully embedded fonts

2

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:

net.sf.jasperreports.default.pdf.font.name=helvetica.ttf

net.sf.jasperreports.default.pdf.encoding=Cp1252

net.sf.jasperreports.default.pdf.embedded=true

net.sf.jasperreports.export.pdfa.icc.profile.path=/AdobeRGB1998.icc

net.sf.jasperreports.export.pdfa.conformance=pdfa1a

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: 4 years 2 months ago

Hello,

Here is a link to get you started.

http://www.prepressure.com/pdf/basics/fonts

B.

Java_Jasper - 5 years 8 months ago

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

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/FontPolicies.pdf

B.

Java_Jasper - 5 years 8 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- - 5 years 8 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- - 5 years 8 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 - 5 years 8 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- - 5 years 8 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 - 4 years 6 months ago

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

fvaleri- - 4 years 6 months ago

1 Answer:

0
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: 4 years 2 months ago
Feedback