Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: more porting issues to Java 11 Date: Sat, 4 May 2019 11:24:33 -0500 Organization: A noiseless patient Spider Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 4 May 2019 16:24:34 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="5eb5b5c3df2ae8a16797cca2c29a38a6"; logging-data="9936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/on8NnG/xEnSH7u55yv4dX" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cancel-Lock: sha1:RF7Pr0JxtNLOQq1XiRzkxNBTg5E= In-Reply-To: Content-Language: en-US Xref: csiph.com comp.lang.java.programmer:38943 On 5/3/2019 8:10 AM, Andreas Leitgeb wrote: > 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. > I think that change actually came with Java 9. It is really a big improvement for high dpi screens. k