Sublime Forum

"gray_antialias" not working on latest MacOS

#1

I updated my MacOS to “Hight Sierra 10.13.4” yesterday and font option “gray_antialias” doesn’t work properly any more.

My Sublime version

My settings

"font_options":
[
	"gray_antialias",
	"subpixel_antialias"
]

Can you fix it?

In VSCode everything looks the same like it was before updating.

P.S. I’ll send screenshots in next posts.

0 Likes

#2

How it looked before update

0 Likes

#3

How it looks now

0 Likes

#4

Firstly, it doesn’t make any sense to have both gray_antialias and subpixel_antialias specified, they’re mutually exclusive. Also gray_antialias is indeed in effect in both screenshots, as neither is doing subpixel antialiasing.

gray_antialias means to smooth rounded corners by calculating per-pixel coverage, and blending the current pixel value with the text color based on that coverage.

subpixel_antialias is similar, but exploits the RGB configuration of your monitor, and calculates three coverage values per-pixel, with one value per color channel. This gives smoother shapes, but can give an impression of color bleeding, which is why some people prefer to turn it off.

There’s no color fringing in either screenshot, which indicates that gray_antialias is being used

0 Likes

#5

Ok, I have removed “subpixel_antialias”, but problem is still there.

I said that “gray_antialias” doesn’t work properly any more, but it works. When I add or remove it I see effect.

The problem is that the effect of “gray_anitialias” looks worse than it was two days ago.

Check this screenshot

Two days ago Sublime with “gray_anitialias” looked exactly the same like VSCode now.

@jps do you have any ideas how to fix it?

0 Likes

#6

I don’t know what may have been different for you two days ago, no. It’s worth checking the value of your “Font Smoothing” system preference though (in General category)

0 Likes

#7

I think I found where was the problem.

I had this font setting before update

"font_face": "Operator Mono",

and they fall to “Operator Mono Book” as default font.

But after update these settings falls to “Operator Mono Medium”. I am not sure why is this happening.

I changed my Sublime settings to

"font_face": "Operator Mono Book",

and everything looks like it was before.

In VSCode

"editor.fontFamily": "Operator Mono"

falls to “Operator Mono Book”.

0 Likes

#8

For something I don’t understand yet, I had the same problem you have @serhiipalash.

My previous settings:

"font_face": "Operator Mono Lig",

Now:

"font_face": "Operator Mono Lig Book",

It sounds like the previous version of my mojave took “book” by default as fallback, and now takes “medium”, which is not right for me.

Now it’s fixed, thanks!

0 Likes