![]() ![]() Note: Some users reported that logging out was sufficient to apply the change. Paste defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO and press enter.Try executing this command in the terminal: defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO While I was desperate and preparing to rollback to High Sierra, GitHub user alexanderyakusik posted the solution in the issue I mentioned above: However this isn’t a real fix and barely improve the font rendering. On some websites, you will find command lines that modify the font smoothness. In fact, an issue on the VS Code GitHub repo was opened since the Mojave beta, and people were complaining, without any real solution. What was really bothering me was how bad the fonts looked in Visual Studio Code, my favorite editor. On my retina Macbook Pro, the font looked thinner and, I don’t know, just bad, especially on Electron/Webkit based apps. But the left one is still 1080p! Notice how it’s blurry… ![]() Of course, the Retina version is sharper. I noticed it too, on my 1080p monitor (“1x display”): the fonts looked blurry. Indeed, with macOS Mojave, a lot of users noticed their font looked awful. Everyone notices when it’s not working, and macOS will look worse without it (on 1x displays). Nevertheless there’s no denying that subpixel-AA text looks better on 1x displays. There’s tons of ways to fall off of the subpixel antialiased quality path, and there’s weird graphical artifacts when switching from static to animated text, or the other way. It requires knowing your foreground and background colors at render time, which is an unnatural requirement when you want to do GPU-accelerated compositing. It multiplies your glyph caches: glyph * subpixel offset. It requires threading physical pixel geometry up through multiple graphics layers, geometry which is screen-dependent (think multi-monitor). Subpixel antialiasing is obnoxious to implement. On Hacker News, ridiculous_fish, an ex-macOS software engineer, says subpixel antialiasing is painful to implement:Įx-MacOS SWE here. Apparently, it is some complex, legacy code, and they decided to remove it. With macOS Mojave, Apple disabled a feature called “Subpixel antialiasing”. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |