From 89e1357c75690dd90325dad624e11c6904b640db Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Fri, 29 Aug 2025 04:20:39 -0700 Subject: [PATCH] fonts: Use `Helvetica` as the `system-ui` font on macOS (#39001) Helvetica isn't quite right but it's a better default choice than a monospaced font like Menlo (it should be some variant of Apple's San Francisco font, but that isn't easily exposed) Testing: Untested, but matches the font family used for `sans-serif` so it should be safe Signed-off-by: Darryl Pogue --- components/fonts/platform/macos/font_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fonts/platform/macos/font_list.rs b/components/fonts/platform/macos/font_list.rs index a5d9b6d936a..ac41ffefad7 100644 --- a/components/fonts/platform/macos/font_list.rs +++ b/components/fonts/platform/macos/font_list.rs @@ -182,7 +182,7 @@ pub fn default_system_generic_font_family(generic: GenericFontFamily) -> Lowerca GenericFontFamily::Monospace => "Menlo", GenericFontFamily::Cursive => "Apple Chancery", GenericFontFamily::Fantasy => "Papyrus", - GenericFontFamily::SystemUi => "Menlo", + GenericFontFamily::SystemUi => "Helvetica", } .into() }