mana_singh01 Posted October 6, 2006 Share Posted October 6, 2006 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 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