Hi,
Characters in my titles, legend and axis labels are fuzzy, while yours, for exemple in TimeSeriesChartDemo1, are perfectly anti-aliased.
Where can be my error?
P.
Why my characters are so ugly?
Re: Why my characters are so ugly?
In fact, your demo fully uses the resolution of my screen (retina) while my application doesn't.
Screenshot: https://www.dropbox.com/s/1umlduf6hbrgg ... t.png?dl=0
Why ?
Screenshot: https://www.dropbox.com/s/1umlduf6hbrgg ... t.png?dl=0
Why ?
Re: Why my characters are so ugly?
Ok.
With the resolution is low.
With the resolution is high.
With
Code: Select all
ChartPanel panel = new ChartPanel(chart, true);
With
Code: Select all
ChartPanel panel = new ChartPanel(chart, false);
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Why my characters are so ugly?
This is a feature where the ChartPanel keeps an offscreen image as a buffer for the charts it draws. Unfortunately it doesn't work well with retina displays, so for better output quality you should disable the buffering via the constructor.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Re: Why my characters are so ugly?
This also appears to be an issue with Windows 10 display scaling and Java 11 ( probably 9 & 10 as well ). Would filing a bug on github help resolve the issue?david.gilbert wrote: ↑Sun Nov 12, 2017 11:46 pmThis is a feature where the ChartPanel keeps an offscreen image as a buffer for the charts it draws. Unfortunately it doesn't work well with retina displays, so for better output quality you should disable the buffering via the constructor.