Add .SystemUIFont to font list (#15340)

As discussed in #15326, this font name should be included in the font
list since `settings.json` indicates that one can set the font to
`.SystemUIFont`.

Release Notes:

- N/A

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
张小白 2024-08-27 21:23:24 +08:00 committed by GitHub
parent d3d0c043f5
commit 60af9dd4b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,6 +84,7 @@ impl TextSystem {
.iter()
.map(|font| font.family.to_string()),
);
names.push(".SystemUIFont".to_string());
names.sort();
names.dedup();
names