OJFord / iosevka-generate

A tool to generate custom Iosevka fonts from a configuration file
GNU General Public License v3.0
18 stars 3 forks source link

Where does this tool install the fonts to? #11

Open evanlauerbsu opened 1 week ago

evanlauerbsu commented 1 week ago

My system does not detect the font and I cannot find where it installs the font to. It would be nice if this program had --help option that gives more information about the program, or logging about where to find the fonts and such.

OJFord commented 1 week ago

Are you sure there wasn't some error? Because:

It would be nice if this program had [...] logging about where to find the fonts and such.

well, there's: https://github.com/OJFord/iosevka-generate/blob/981c710da50c9d05ce8732f98b5984dad30191b3/iosevka-generate#L204

which should be in your $XDG_DATA_HOME/fonts, ~/.local/share/fonts if you don't have any XDG configuration.

evanlauerbsu commented 1 week ago

I saw that because I looked through the code, but for some reason the print statement never happened because that wasn't printed to the console. It's also possible that the output was erased or cleared because I noticed some of the other things that were printed weren't present in the final console output of the program. The fonts were not installed to ~/.local/share/fonts. I'm running linux, and as far as I know I have no XDG configuration. I also noticed that ~/.local/share/fonts has not been created on my system, so maybe the program should create the fonts folder if it does not already exist?

OJFord commented 1 week ago

It does https://github.com/OJFord/iosevka-generate/blob/master/iosevka-generate#L201