<Swing Dev> RFR: 8231286: HTML font size too large with high-DPI scaling and W3C_LENGTH_UNITS [v5]

Alexey Ivanov aivanov at openjdk.java.net
Tue Feb 2 21:43:41 UTC 2021


On Tue, 2 Feb 2021 08:25:03 GMT, Matthias Perktold <github.com+7334069+mperktold at openjdk.org> wrote:

> What should we do about it? Is there a way to inject a different screen resolution for testing?

I do not know. You can change the scale factor on your main display, the `Toolkit.getScreenResolution()` will return the new value.

> And should I remove `sun.java2d.uiScale` from the doc?

I think so. It does not affect the test in any way.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2256


More information about the swing-dev mailing list