> On 12-Mar-2021, at 9:29 AM, Scott Palmer <swpal...@gmail.com> wrote:
> 
> 
>> On Mar 11, 2021, at 9:53 PM, Sergey Bylokhov <s...@openjdk.java.net> wrote:
>> 
>> On Fri, 12 Mar 2021 02:29:04 GMT, Jayathirth D V <j...@openjdk.org> wrote:
>> 
>>>> src/java.desktop/macosx/classes/sun/java2d/metal/MTLSurfaceData.java line 
>>>> 323:
>>>> 
>>>>> 321:      * more code just to support a few uncommon cases.
>>>>> 322:      */
>>>>> 323:     public boolean canRenderLCDText(SunGraphics2D sg2d) {
>>>> 
>>>> Just curious, can we render LCD on 10.14+ via metal? Does it work fine?
>>> 
>>> Yes Sergey it works fine in 10.14+ systems via metal. Most of the JCK 
>>> manual tests use LCD text on UI Components and it is recently verified in 
>>> 10.14+ systems for EA10.
>> 
>> Ok, for some reason I thought that the new macOS stopped providing LCD 
>> glyphs.
>> 
> 
> Are the glyphs different or just the way they are rasterized?
> 
> Newer versions of macOS don’t do LCD text and have gone back to plain 
> grey-scale anti-aliasing. 
> Java 2D should default to NOT doing LCD anti-aliasing for text on macOS if it 
> wants to fit in with the look of native applications. 
> (I’m not sure if that applies to non-retina displays.)
> 
By default we don’t do LCD anti-aliasing for text, only when we set Text 
Rendering Hint to use LCD antialiasing we take sub-pixel rendering path.
> Scott

Reply via email to