fvaleri- Posted November 13, 2013 Share Posted November 13, 2013 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.ttfnet.sf.jasperreports.default.pdf.encoding=Cp1252net.sf.jasperreports.default.pdf.embedded=truenet.sf.jasperreports.export.pdfa.icc.profile.path=/AdobeRGB1998.iccnet.sf.jasperreports.export.pdfa.conformance=pdfa1aI 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? Link to comment Share on other sites More sharing options...
Java_Jasper Posted November 14, 2013 Share Posted November 14, 2013 Hello,Here is a link to get you started.http://www.prepressure.com/pdf/basics/fontsB. Link to comment Share on other sites More sharing options...
Java_Jasper Posted November 14, 2013 Share Posted November 14, 2013 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.pdfB. Link to comment Share on other sites More sharing options...
fvaleri- Posted November 14, 2013 Author Share Posted November 14, 2013 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.. ) Link to comment Share on other sites More sharing options...
fvaleri- Posted November 14, 2013 Author Share Posted November 14, 2013 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.. Link to comment Share on other sites More sharing options...
djohnson53 Posted November 15, 2013 Share Posted November 15, 2013 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? Link to comment Share on other sites More sharing options...
fvaleri- Posted November 15, 2013 Author Share Posted November 15, 2013 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. Link to comment Share on other sites More sharing options...
vincenzo.ferrara Posted January 16, 2015 Share Posted January 16, 2015 Hi, have you found a solution yet?I am having the same problem, i need full font embedded but i am not able to.... Link to comment Share on other sites More sharing options...
fvaleri- Posted January 16, 2015 Author Share Posted January 16, 2015 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. Link to comment Share on other sites More sharing options...
fvaleri- Posted January 16, 2015 Author Share Posted January 16, 2015 Hi vincenzo, I have posted the solution for my case.. 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