leechiang.ng Posted March 13, 2014 Share Posted March 13, 2014 Hi,I am using style in the text field expression as follow:"<style FontName='Adelle' forecolor='#666666' size='20'> Standards </style>Standards shows the correct forecolor and the size, but the FontName still show the default fontname which is SansSerif. Please let me know how to overwrite the default fontname.Attached please find the screen shot of the previews.Your help is very much appreciated.Thankslee Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted March 13, 2014 Share Posted March 13, 2014 Hi,I don't think this "Adelle" font is a standard one. You should add it via the font extension mechanism if you want to use it in the report.Regards,Massimo. Link to comment Share on other sites More sharing options...
hozawa Posted March 13, 2014 Share Posted March 13, 2014 Not sure if this will help but try using "fontName" with lowercase "f". Also, ”Adelle” isn't included in the default fonts so you'll have to set it up.http://jasperreports.sourceforge.net/sample.reference/fonts/index.html Link to comment Share on other sites More sharing options...
leechiang.ng Posted March 14, 2014 Author Share Posted March 14, 2014 Thanks, Massimo and hozawa. I will give it a try.- lee 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