We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2edd0 commit ff865eaCopy full SHA for ff865ea
vlib/os/font/font.v
@@ -28,6 +28,10 @@ pub fn default() string {
28
return env_font
29
}
30
$if windows {
31
+ if os.exists('C:\\Windows\\Fonts\\segoeui.ttf') {
32
+ debug_font_println('Using font "C:\\Windows\\Fonts\\segoeui.ttf"')
33
+ return 'C:\\Windows\\Fonts\\segoeui.ttf'
34
+ }
35
debug_font_println('Using font "C:\\Windows\\Fonts\\arial.ttf"')
36
return 'C:\\Windows\\Fonts\\arial.ttf'
37
0 commit comments