Skip to content

Commit

Permalink
Use Segoe UI on windows by default (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatkovIvan committed May 10, 2023
1 parent e7fd39b commit 24ee117
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -225,7 +225,9 @@ internal val GenericFontFamiliesMapping: Map<String, List<String>> by lazy {
)
Platform.Windows ->
mapOf(
FontFamily.SansSerif.name to listOf("Arial"),
// Segoe UI is the Windows system font, so try it first.
// See https://learn.microsoft.com/en-us/windows/win32/uxguide/vis-fonts
FontFamily.SansSerif.name to listOf("Segoe UI", "Arial"),
FontFamily.Serif.name to listOf("Times New Roman"),
FontFamily.Monospace.name to listOf("Consolas"),
FontFamily.Cursive.name to listOf("Comic Sans MS")
Expand Down

0 comments on commit 24ee117

Please sign in to comment.