mirror of
https://github.com/servo/servo.git
synced 2025-09-04 12:08:21 +01:00
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 <darryl@dpogue.ca>
This commit is contained in:
parent
8beef6c21f
commit
89e1357c75
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue