Skip to content

Commit

Permalink
Merge pull request #275 from fengyoulin/windows-fonts-path
Browse files Browse the repository at this point in the history
fix: windows system font path
  • Loading branch information
tdewolff authored Jan 24, 2024
2 parents ed23c86 + a02f2b9 commit eb8f8f8
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 eb8f8f8

Please sign in to comment.