This post first appeared on Fix macOS Mojave Font Rendering Issue β
Just updated to macOS Mojave only to find out that there is a terrible font rendering issue for almost all the ElectronJS based apps like VSCode my code editor of choice.
After researching a little bit, less to my surprise, I found out that Apple has disabled Subpixel antialiasing for text in macOS Mojave. It’s gone.
Little more research led to a fix, all you have to do is open up your Terminal
application (COMMAND (β) + SPACE then search for Terminal
) and run the following command.
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
[ecko_fullpage_image]
This will lead to the font smoothing to be enabled β especially for non-retina external monitors. You’ll thank me later. You need to sign out and sign back in or restart your Mac before you can see your changes after running this command. That’s pretty much all.
β οΈ Some folks also recommended enabling the font smoothing option in the General
font settings but that didn’t work for me.
Peace! βοΈ
π
SUBSCRIBE TO DEVELOPERS TAKEAWAY!
A Premium Development Newsletter by TheDevCouple! What is TheDevTakeaway?