From 79468c119e51618801dda243d3f2fb8e7ff5ceb0 Mon Sep 17 00:00:00 2001 From: Julia Ryan Date: Thu, 18 Sep 2025 19:21:42 -0500 Subject: [PATCH] Respect user's font-smoothing setting (#38467) #37622 was incorrectly forcing font smoothing to be enabled on macos even when the user had disabled that setting at the OS level. See [this comment](https://github.com/zed-industries/zed/pull/37622#issuecomment-3310030659) for an example of the difference that font smoothing makes. Release Notes: - N/A --- 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 9144b2a23a40bd527e1441cf71adcc2562c33f3c..7f765fbaac80e27f8db4b9c4f2d00de90e991a9a 100644 --- a/crates/gpui/src/platform/mac/text_system.rs +++ b/crates/gpui/src/platform/mac/text_system.rs @@ -397,7 +397,6 @@ impl MacTextSystemState { .subpixel_variant .map(|v| v as f32 / SUBPIXEL_VARIANTS as f32); cx.set_allows_font_smoothing(true); - cx.set_should_smooth_fonts(true); cx.set_text_drawing_mode(CGTextDrawingMode::CGTextFill); cx.set_gray_fill_color(0.0, 1.0); cx.set_allows_antialiasing(true);