[−][src]Function crossfont::set_font_smoothing
pub fn set_font_smoothing(enable: bool)
Set subpixel anti-aliasing on macOS.
Sub-pixel anti-aliasing has been disabled since macOS Mojave by default. This function allows
overriding the global CGFontRenderingFontSmoothingDisabled
setting on a per-application basis
to re-enable it.
This is a no-op on systems running High Sierra or earlier (< 10.14.0).