From 33f44009de4d76ac019a4142b03548b50706bf17 Mon Sep 17 00:00:00 2001 From: Sergei Zharinov Date: Tue, 30 Sep 2025 10:01:25 -0300 Subject: [PATCH] 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. --- crates/gpui/src/platform/mac/text_system.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui/src/platform/mac/text_system.rs b/crates/gpui/src/platform/mac/text_system.rs index 67ece1f153fb4ea73a12259d2d55409059aadb40..505c665dedd0eabd9327928b700b80ee273bd118 100644 --- a/crates/gpui/src/platform/mac/text_system.rs +++ b/crates/gpui/src/platform/mac/text_system.rs @@ -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);