Menu

#1153 Significantly degraded appearance of ChartPanel in Java 9

1.0.x
open
nobody
None
5
2017-03-02
2017-03-02
David Tuma
No

Java 9 is currently set for release in July. It includes support for HiDPI displays.

The new HiDPI support in Java takes note of the operating system settings for font scaling. In Windows 10, this font scaling setting can be seen by right-clicking on the desktop background and choosing "Display Settings." On HiDPI monitors, it is common for Windows to automatically choose a default such as 125%, 150%, or higher.

When the operating system setting has any value other than 100%, the previously beautiful charts from JFreeChart become jagged with nearly unreadable text. (Specifically, this applies to their appearance when displayed in a ChartPanel, and when the useBuffer flag is true.)

An early access release of Java 9 is available for evaluation and bug testing. To observe this bug, simply run the JFreeChart Demo application in Java 9, and change the OS font scaling setting to something other than 100%.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB