1
0
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:
Alexander Medvednikov
2020-11-15 15:09:35 +01:00
parent fe3d2a9aba
commit 26785668c0
5 changed files with 35 additions and 4 deletions

View File

@@ -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') {