Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Andreas Leitgeb Newsgroups: comp.lang.java.programmer Subject: Re: more porting issues to Java 11 Date: Fri, 3 May 2019 13:10:31 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: References: Reply-To: avl@logic.at Injection-Date: Fri, 3 May 2019 13:10:31 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="d5a9de5006950f063f2350cd983b4de8"; logging-data="3578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18f7BchUDAZ4NzH+yXPsO4F" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:ERkSE9go1OcUxUVRfSbFYNXiSrE= Xref: csiph.com comp.lang.java.programmer:38941 Andreas Leitgeb wrote: > The application uses awt & swing components for the GUI, and all > windows look distorted, fonts are a bit larger, even images look > a bit stretched and moving another window over the jdk 11 application > window leaves behind some spurious lines, as if the refresh had off- > by-one-pixel inaccuracies. It's not yet solved, but I could narrow it down to what system setting triggers it: In the settings dialog for "Screen Resolution", there is an option labelled "Make text and other items larger or smaller", which on my desktop was set to 125%. Java up to 8 totally ignored that setting. Java 11 tries to follow it (which is arguably an improvement), but does so in a somewhat broken way.