mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
autofree: more tests; gg: fix draw_circle with hidpi
This commit is contained in:
@@ -217,6 +217,11 @@ fn get_font_path_variant(font_path string, variant FontVariant) string {
|
||||
} else {
|
||||
fpath += '-bold'
|
||||
}
|
||||
$if macos {
|
||||
if os.exists('SFNS-bold') {
|
||||
fpath = 'SFNS-bold'
|
||||
}
|
||||
}
|
||||
}
|
||||
.italic {
|
||||
if fpath.ends_with('-Regular') {
|
||||
|
||||
Reference in New Issue
Block a user