text/label quality

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jay

text/label quality

Post by Jay » Sat Jan 31, 2004 4:29 am

Dave,

I need your help again for the text quality. It seems to me jfree chart package draws the text(label, category name, title, etc), instead of uses font file.( or probably does not scale well) Thus the text quality is not acceptable for commercial purpose. You may print out the charts in your sample web page to find out what I mean. http://www.jfree.org/jfreechart/samples.html

Also the outline of pie chart is not implement as line, but seems as matrix. Thus the edge is not sharp.

Are these problems all related to Jdk graphic 2d implementaion? Is there any way to fix this problem?

Thanks a lot.

Jay Chiu

arnaud
Posts: 86
Joined: Wed Mar 19, 2003 2:59 pm
Location: Paris, France
Contact:

Post by arnaud » Mon Feb 02, 2004 9:55 am

Hello,

Please have a look at those topics : improve image quality/resolution on export and Bad quality when printing chart... [URGENT]
.

Regards,
Arnaud

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Feb 02, 2004 2:28 pm

Hi Arnaud,

I've transferred your image resolution RFE (777515) to the Patch manager and will try to get it integrated for 0.9.17. When I first looked at it, I didn't understand the point of it (and made the mistake of moving on to something else without asking you about it), but after reading the PNG spec I finally realised what it does. Remind me if I forget about it.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Jay

Post by Jay » Sun Feb 15, 2004 8:07 pm

I guess Arnaud's patch is only for saving image from chart GUI. As I use ChartUtilities.saveChartAsPNG() call directly to save the image, I have changed ChartUtilities class to save high solution png image.

When you release the next release of jfreechart, please add methods like:
ChartUtilities.saveChartAsHighSolutionPNG() and ChartUtilities.saveChartAsHighSolutionJPEG().

Thanks.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Feb 16, 2004 9:59 am

I'll try.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

nilesh
Posts: 20
Joined: Wed May 21, 2003 10:56 am
Contact:

please share

Post by nilesh » Tue Mar 16, 2004 11:47 am

jay can you share your high resolution png encode code

Locked