Hi all, I have a requirement for i18n. My reports have to be in english & japaneese both & they are exported in pdf & xls. For a text field I want to have a different font for the different locale.
I am trying to do something like this in text field expression: ($P{REPORT_LOCALE}.toString().equals(Locale.JAPANESE.toString())?($R{part.la bel}.setPdfFontName("msmincho.ttc")):($R{part.label}.setPdfFontName("Verdana .ttf"))) However, This thing does not work as partlabel string does not have a method like setpdffontname. Please help me, it's very urgent. I have been trying for long for this to happen. Thanks & Regards, MS. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.mind-infotech.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions