I don't know what is being done elsewhere in this code but shouldn't
this code be caching the state and restoring  it rather than setting
it OFF at the end no matter what it was on entry ?
And whilst OFF is usually the same as DEFAULT, it does not have to be.

-phil.

On 8/27/18, 4:16 AM, Prasanta Sadhukhan wrote:
Anyways, I have moved the fix to html drawshape routine so it will not affect JEditorPane rendering

http://cr.openjdk.java.net/~psadhukhan/8201925/webrev.1/

Regards
Prasanta
On 8/27/2018 1:15 PM, Prasanta Sadhukhan wrote:
Hi Sergey,

The fix is only for html elements/shapes and not for all. Could you please point me to a testcase which you doubt will not work?

Regards
Prasanta
On 8/25/2018 4:27 AM, Sergey Bylokhov wrote:
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




Reply via email to