xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John-Val Rose <j...@rosethorn.technology>
Subject RE: Performance and rendering quality degradation between Batik Squiggle 1.9 and 1.11
Date Sat, 17 Aug 2019 21:45:23 GMT
Hi Kirill, that’s exactly what I was thinking, especially given that this is a hi-res 4K

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?



From: Kirill Grouchnikov <kirill.grouchnikov@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

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?



From: Helder Magalhães<mailto:helder.magalhaes@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

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.

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?



To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org<mailto:batik-users-unsubscribe@xmlgraphics.apache.org>
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org<mailto:batik-users-help@xmlgraphics.apache.org>

View raw message