Jump to content
We've recently updated our Privacy Statement, available here ×

PDF does not support font


shamphadtale

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

 Thanks asejas, 

I am using available fonts on system, I am not providing any font through my application. There could be no. of fonts that can available on different systems. I am giving facility to user for selecting the fonts from available fonts present on system. I need something by which if font is present on system but it is not supportted by PDF and if application user selects that font then while exporting report to PDF some standard font like Arial(which is availabel on all windows machine) should get use. So for this situation I guess creating jasperreport font extention jar will not be the useful solution, since I am not aware about which fonts to be include in font extention. Please correct me if my understanding is incorrect. I am not clear about how to do this, what should be the best way to solve such situation? 

Regards,

Sham



Post Edited by shamphadtale at 12/23/2011 09:46
Link to comment
Share on other sites

  • 2 weeks later...

Yes iText uses Helvetica font in exported PDF if font selcetd to generate report is not present. But exported PDF reports does not look well, some text get overlapped with next column or next row. It is due to the formatting(like streching of text fields) are done when report is generated. Exported report has same formatting as of generated report but has different font results in overlapping some text /tools/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif

Is there any solution for such problem? How should I deal with this problem?



Post Edited by shamphadtale at 01/02/2012 09:01
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...