gpui: Respect font smoothing on macOS (#39197)

- Closes #38847
- See also: #37622 and #38467

Release Notes:

- Fonts are now rendered in accordance with the `AppleFontSmoothing`
setting.
This commit is contained in:
Sergei Zharinov authored and GitHub committed 2025-09-30 13:01:25 +00:00
1 parent da8ef90c50
commit e8b1bf64a8
1 file changed
-1
@@ -396,7 +396,6 @@ impl MacTextSystemState {
let subpixel_shift = params
.subpixel_variant
.map(|v| v as f32 / SUBPIXEL_VARIANTS_X as f32);
cx.set_allows_font_smoothing(true);
cx.set_text_drawing_mode(CGTextDrawingMode::CGTextFill);
cx.set_gray_fill_color(0.0, 1.0);
cx.set_allows_antialiasing(true);