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 <kirill.grouchni...@gmail.com>
Sent: Sunday, August 18, 2019 7:39:16 AM
To: batik-users@xmlgraphics.apache.org <batik-users@xmlgraphics.apache.org>
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 <john@rosethorn.technology> 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:helder.magalh...@gmail.com>
Sent: Saturday, 17 August 2019 21:36
To: 
batik-users@xmlgraphics.apache.org<mailto:batik-users@xmlgraphics.apache.org>
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 <john@rosethorn.technology> 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: 
batik-users-unsubscr...@xmlgraphics.apache.org<mailto:batik-users-unsubscr...@xmlgraphics.apache.org>
For additional commands, e-mail: 
batik-users-h...@xmlgraphics.apache.org<mailto:batik-users-h...@xmlgraphics.apache.org>

Reply via email to