Jump to content

i18n problem--Pleazzzzzzzz help


mana_singh01

Recommended Posts

hi all,

 

 

I have also tried doing this in my pdf servlet:

on the condition of checking locale. if locale is english then use the below style with font as verdana else if the locale is japan then use the font as msmincho.ttc.

 

JRStyle style = jasperReport.getStyles()[0];

style.setPdfFontName("Verdana.ttf");

style.setPdfEncoding("IDENTITY_H");

style.setPdfEmbedded(false);

style.setFontSize(10);

jasperPrint.setDefaultStyle(style);

 

However, it does not do anything.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...