Yes, thanks Kirill.  The VM argument -Dsun.java2d.uiScale.enabled=false 
alleviates the issues although Squiggle is considerably “smaller” overall.

Graciously,

John-Val

________________________________
From: Kirill Grouchnikov <[email protected]>
Sent: Sunday, August 18, 2019 9:10:40 AM
To: [email protected] <[email protected]>
Subject: Re: Performance and rendering quality degradation between Batik 
Squiggle 1.9 and 1.11

Maybe something from here - 
https://news.kynosarges.org/2019/03/24/swing-high-dpi-properties/

On Sat, Aug 17, 2019, 17:45 John-Val Rose <[email protected]> wrote:
Hi Kirill, that’s exactly what I was thinking, especially given that this is a 
hi-res 4K monitor.

I had Windows display settings to scale 150% but when I put it to 100% I found 
that the issues went away (albeit that it’s almost impossible to read icon text 
etc.).

So, is there anything that can be done about this at the Java level or the 
Batik level?  Maybe some command line arguments to handle the hi-DPI scaling?

Graciously,

John-Val

________________________________
From: Kirill Grouchnikov 
<[email protected]<mailto:[email protected]>>
Sent: Sunday, August 18, 2019 7:39:16 AM
To: 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Subject: Re: Performance and rendering quality degradation between Batik 
Squiggle 1.9 and 1.11

Maybe it the high-DPI support added to Java in one of the newer releases, and 
some kind of legacy fallback for apps that don't opt into something?

On Sat, Aug 17, 2019 at 4:02 PM John-Val Rose <[email protected]> wrote:
OK, after a bit more digging, I stand corrected.

There doesn’t appear to be any of the aforementioned degradations in Batik 
itself; the issue is with which version of Java you run Squiggle with.

I have found that all Java versions after JDK 8 show this slower scaling and 
poorer rendering quality.  Even just the splash screen is very noticeably more 
pixelated and SVGs themselves are more grainy.

I’ve attached some screenshots of both the splash screen and the tiger SVG 
using Java 8 versus Java 10.

Does anyone know why this is the way it is?

Graciously,

John-Val

From: Helder Magalhães<mailto:[email protected]>
Sent: Saturday, 17 August 2019 21:36
To: 
[email protected]<mailto:[email protected]>
Subject: Re: Performance and rendering quality degradation between Batik 
Squiggle 1.9 and 1.11

Hi John,

Could you elaborate a bit on the comparison?
1. Is it between the same Operating System? And same OS version? Please state 
which one/ones are they.
2. Is it between the same JRE/JDK (Oracle/OpenJDK/etc.)? And same versions? 
Please state which one/ones are they.

Also, given it's a quality difference, one or two pairs of screenshots between 
same content in the two environments would quite improve the explanation.

Regards,
Helder Magalhães

A Sáb, 17/08/2019, 06:54, John-Val Rose <[email protected]> escreveu:
Does anyone know why there appears to be a noticeable degradation in both 
rendering/scaling performance and also in rendering quality of SVGs in Squiggle 
between Batik 1.9 and 1.11?

What are the major changes that may have resulted in this degradation?

Graciously,

John-Val


---------------------------------------------------------------------
To unsubscribe, e-mail: 
[email protected]<mailto:[email protected]>
For additional commands, e-mail: 
[email protected]<mailto:[email protected]>

Reply via email to