Re: Performance and rendering quality degradation between Batik Squiggle 1.9 and 1.11
Kirill Grouchnikov <[email protected]> Sat, 17 Aug 2019 17:39:16 -0400
| Newsgroups | gmane.text.xml.batik.user |
|---|---|
| Message-ID | <CAMRG33ZdbXnxXDETQUt5_iKSmkWguwm_61tVA1MZnq5wPNPxAQ@mail.gmail.com> |
--000000000000f4d079059056f064 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=99t 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=E2=80=99ve 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=C3=A3es <[email protected]> > *Sent: *Saturday, 17 August 2019 21:36 > *To: *[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=C3=A3es > > > > A S=C3=A1b, 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] > For additional commands, e-mail: [email protected] --000000000000f4d079059056f064 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">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 op= t into something?</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Sat, Aug 17, 2019 at 4:02 PM John-Val Rose <john@ros= ethorn.technology> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex"> <div lang=3D"EN-AU"> <div class=3D"gmail-m_-7294796290040195857WordSection1"> <p class=3D"MsoNormal">OK, after a bit more digging, I stand corrected.</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">There doesn=E2=80=99t appear to be any of the aforem= entioned degradations in Batik itself; the issue is with which version of J= ava you run Squiggle with.</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">I have found that all Java versions after JDK 8 show= this slower scaling and poorer rendering quality.=C2=A0 Even just the spla= sh screen is very noticeably more pixelated and SVGs themselves are more gr= ainy.</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">I=E2=80=99ve attached some screenshots of both the s= plash screen and the tiger SVG using Java 8 versus Java 10.</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Does anyone know why this is the way it is?</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Graciously,</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">John-Val</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div style=3D"border-right:none;border-bottom:none;border-left:none;border-= top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm"> <p class=3D"MsoNormal" style=3D"border:none;padding:0cm"><b>From: </b><a hr= ef=3D"mailto:[email protected]" target=3D"_blank">Helder Magalh=C3= =A3es</a><br> <b>Sent: </b>Saturday, 17 August 2019 21:36<br> <b>To: </b><a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a><br> <b>Subject: </b>Re: Performance and rendering quality degradation between B= atik Squiggle 1.9 and 1.11</p> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <p class=3D"MsoNormal">Hi John, <u></u><u></u></p> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">Could you elaborate a bit on the comparison?<u></u><= u></u></p> </div> <div> <p class=3D"MsoNormal">1. Is it between the same Operating System? And same= OS version? Please state which one/ones are they.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal">2. Is it between the same JRE/JDK (Oracle/OpenJDK/et= c.)? And same versions?=C2=A0<span style=3D"font-family:Arial,sans-serif">P= lease state which one/ones are they.</span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">Also, given it's a quality difference, one or tw= o pairs of screenshots between same content in the two environments would q= uite improve the explanation.<u></u><u></u></p> <div> <p class=3D"MsoNormal"><br> Regards,<br> Helder Magalh=C3=A3es<u></u><u></u></p> </div> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">A S=C3=A1b, 17/08/2019, 06:54, John-Val Rose <joh= [email protected]> escreveu:<u></u><u></u></p> </div> <blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b= order-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4= .8pt;margin-right:0cm"> <div> <div> <p class=3D"MsoNormal">Does anyone know why there appears to be a noticeabl= e degradation in both rendering/scaling performance and also in rendering q= uality of SVGs in Squiggle between Batik 1.9 and 1.11?</p> <p class=3D"MsoNormal">=C2=A0</p> <p class=3D"MsoNormal">What are the major changes that may have resulted in= this degradation?</p> <p class=3D"MsoNormal">=C2=A0</p> <p class=3D"MsoNormal">Graciously,</p> <p class=3D"MsoNormal">=C2=A0</p> </div> </div> </blockquote> </div> <p class=3D"MsoNormal" style=3D"margin-left:4.8pt"> John-Val</p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> </div> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:batik-users-unsubscribe@xmlgraphi= cs.apache.org" target=3D"_blank">[email protected]= .org</a><br> For additional commands, e-mail: <a href=3D"mailto:batik-users-help@xmlgrap= hics.apache.org" target=3D"_blank">[email protected]<= /a></blockquote></div> --000000000000f4d079059056f064--