Skip to content

Commit 85e70c2

Browse files
authored
Add .local/share/fonts to font paths
The default per-user font path on current versions of [`fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/)` is `~/.local/share/fonts`. This is also where (as far as I know) most GUI font installers on modern Linuxs DEs install the fonts.
1 parent 483bc92 commit 85e70c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/findfonts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ else
2020
end
2121
function _font_paths()
2222
result = String[]
23-
for p in ("/usr/share/fonts", joinpath(homedir(), "/.fonts"), "/usr/local/share/fonts",)
23+
for p in ("/usr/share/fonts", joinpath(homedir(), "/.fonts"), joinpath(homedir(), "/.local/share/fonts", "/usr/local/share/fonts",)
2424
if isdir(p)
2525
add_recursive(result, p)
2626
end

0 commit comments

Comments
 (0)