|
Hi Paulo,
I've finally managed to get to the root of the problem, it was caused by a
Java Bug fix in the JFreeChart.
The TextUtility class has a workaround for JDC bug ID 431217 for drawing
rotated text. It seems for JDK 1.3 you do not need the workaround, so you can
turn it off using the following method.
org.jfree.text.TextUtilities.setUseDrawRotatedStringWorkaround(false);
The workaround uses TextLayout to Render the text instead of the drawString
method. This has the effect of increasing the size of a PDF page from 30k to
167k.
Thanks to Adriaan Joubert for info :-
Jason.
|
Title: RE: [iText-questions] PDF File Differences between JDK 1.3 and JDK 1.4
