TESRO7 Posted March 13, 2018 Share Posted March 13, 2018 Hello Everyone,i can't figured it out how to render in the same way a pdf in windows and linux.I use sans serif how can i do this? Have i to embed the sans serif in the pdf in the preference tab? But which Helevetica ArialMT? Or maybe i have to export the jar extension and add in the project?Thank you very much for replying Link to comment Share on other sites More sharing options...
hozawa Posted March 13, 2018 Share Posted March 13, 2018 To display some fonts correctly in pdf, it may be necessary to setup font extensions.https://community.jaspersoft.com/wiki/custom-font-font-extensionThere shouldn't be any difference between Windows and Linux except Windows by default supports several fonts while it has to be setup in Linux. Link to comment Share on other sites More sharing options...
TESRO7 Posted March 14, 2018 Author Share Posted March 14, 2018 Where i have to copy the font extension jar in my application? In the same folder of the .jasper, in the Libreries folder or otherwhere?I'm following this guidehttp://javaskeleton.blogspot.it/2010/12/embedding-fonts-into-pdf-generated-by.htmlThanks Link to comment Share on other sites More sharing options...
TESRO7 Posted March 14, 2018 Author Share Posted March 14, 2018 https://community.jaspersoft.com/questions/538292/problem-pdf-renderingMaybe here there is the solution the folder is Libraries if a webApp Link to comment Share on other sites More sharing options...
TESRO7 Posted March 14, 2018 Author Share Posted March 14, 2018 I tryed to add in libraries but nothing change. Bold and italic dont been shown.If i user pdfFontname i can see bold. But its deprecated and i would like to understand how to use font-extension.i notice that pdffontname seem to incorporate the font in the pdf. is it correct? but how i can i embed the font with font extension.Have i to use some paramenter when i build the pdf? Thanks Link to comment Share on other sites More sharing options...
TESRO7 Posted March 14, 2018 Author Share Posted March 14, 2018 I download the last font library from https://community.jaspersoft.com/project/jasperreports-library/releases. and put in tle library folder of the app.Now i can render the pdf well.Thanks 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