Skip to content

Commit

Permalink
fix: windows system font path
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyoulin committed Jan 24, 2024
1 parent ed23c86 commit a02f2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion font/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func DefaultFontDirs() []string {
sysRoot = "C:"
}
dirs = []string{
filepath.Join(filepath.VolumeName(sysRoot), `Windows`, "Fonts"),
filepath.Join(filepath.VolumeName(sysRoot), `\Windows`, "Fonts"),
}
}
return dirs
Expand Down

0 comments on commit a02f2b9

Please sign in to comment.