-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
~/.fonts/ is deprecated for user fonts; fnt should use the proper XDG directory #15
Comments
that |
what's that XDG variable called exactly? i'm having trouble finding it... grep ".local/share" -ri /etc 2>/dev/null |grep font env |grep XDG horrible! |
The variable to use is indeed So (And sorry for answering this late.) |
if XDG_DATA_HOME does not exist, does macOS or any BSD or non-linux system propose .local/share instead of a .dir directly? |
I doubt this is relevant for macOS, as fnt doesn't use FreeBSD uses the XDG directory too And looking at the |
search: make sure indexes are available! install: google-fonts didn't create something in our fnt/index! add default XDG_CACHE_HOME dir in place for fonts and fnt! ~/.fonts -> $XDG_CACHE_HOME/fonts ~/.fnt -> $XDG_CACHE_HOME/fnt Closes alexmyczko#6 alexmyczko#15
the default
/etc/fonts/fonts.conf
has:As you can see,
~/.fonts/
is deprecated now, and it should be whatever XDG environment variables point to (or~/.local/share/fonts/
by default).The text was updated successfully, but these errors were encountered: