|
|
|
|
|
by rom-antics
1228 days ago
|
|
It basically patches/intercepts system-wide text drawing calls, and does its own drawing instead. There are some hints how it works here https://github.com/snowie2000/mactype/wiki/Secure-Boot I played around with this back when I used Windows, maybe 5 years ago (so my opinion may be out of date). It made text look better on the laptop screen (high dpi) but worse on external monitors (low dpi). That made sense because Apple doesn't sell anything with a low dpi display, but Windows still needs to care about them, so it does a lot of extra stuff like font hinting to make rendering look good as dpi scales down. |
|
Basically, macOS uses "ideal" font rendering, meaning that all glyph shapes and overall text size is as if they were rendered with infinite resolution and then quantized using the pixel grid; when you increase font size, the text scales linearly.
Windows, on the other hand, adjusts the shapes by snapping vertical and horizontal lines so that they correspond exactly to rows and columns of pixels. This distorts glyph shapes and spacing, but it makes small text (around 8-10pt) much more readable on low-DPI displays.
(Coincidentally, this seems to be why macOS default UI font has always been a bit larger and thicker than Windows.)
There are some screenshots to compare side by side here: https://damieng.com/blog/2007/06/13/font-rendering-philosoph...