Hi, Prasanta.
The fix will change the rendering of all elements in the JEditorPane. And it can be possible that we will introduce the issue similar to the bug when rendering uses one font metrics(anti-aliasing on) and layout uses another metrics(anti-aliasing off). This is similar to the mismatch of the scaling factor.

On 22/08/2018 00:03, Prasanta Sadhukhan wrote:
Hi All,

Please review a fix for an issue where the HTML list bullets for HTMl text in JEditorPane looks pixelated and not smooth. The issue is because the shape is not anti-aliased thereby not being rendered smooth.

Proposed fix is to draw the shape(in this case round bullets) in antialias rendering for content-type text/html.

Bug: https://bugs.openjdk.java.net/browse/JDK-8201925
webrev: http://cr.openjdk.java.net/~psadhukhan/8201925/webrev.0/

Regards
Prasanta


--
Best regards, Sergey.

Reply via email to