Hi,
I'm using JasperReport combined with JFreeChart. For Chart titles, values, and Legends I'm using "Lucida Sans" Family Font provided by Sun JDK1.4 but the ouputed chart texts in the PDF looks quite ugly. Is there a way to improve it?
Any help would be really appreciated
Thanks
Improving Fonts in Charts titles, values, legends...
Re: Improving Fonts in Charts titles, values, legends...
I'm not sure...what method are you using to get the charts into PDF? Are you incorporating an image? Or using the PDFGraphics2D implementation provided by iText (which is what JasperReports uses, I think)? Or some other way?
Regards,
Dave Gilbert
Regards,
Dave Gilbert
Re: Improving Fonts in Charts titles, values, legends...
Hi,
The JasperReport version I'm using is 0.4.5, It uses iText 0.96.
Well, the thing is that JasperReport do everything behind the scene. From my part I generate the graphic as a java.awt.image.BufferedImage and assign it to a variable of the report at runtime.
I'm wondering if it is possible to Map a java logical font to PDF font while creating the Chart ?!! Heuh
Regards
The JasperReport version I'm using is 0.4.5, It uses iText 0.96.
Well, the thing is that JasperReport do everything behind the scene. From my part I generate the graphic as a java.awt.image.BufferedImage and assign it to a variable of the report at runtime.
I'm wondering if it is possible to Map a java logical font to PDF font while creating the Chart ?!! Heuh
Regards
Re: Improving Fonts in Charts titles, values, legends...
If it is a BufferedImage that is being embedded into the PDF, then it won't matter which font you use since iText will just be seeing an image.
I'm about to get closer to the detail on these issues, as one of the tasks getting close to the top of my to-do list is to make JFreeChart integrate better with JFreeReport. I'll keep you posted.
Regards,
Dave Gilbert
I'm about to get closer to the detail on these issues, as one of the tasks getting close to the top of my to-do list is to make JFreeChart integrate better with JFreeReport. I'll keep you posted.
Regards,
Dave Gilbert