A python script to download fonts directly from dafont site.
- Windows compatible
To avoid using sudo, installation requires these steps:
- Use
pipto install the package with all dependencies required:
pip install dafontdownloader --user
Obs: if you are on windows you don't need to perform the following steps
- Use
exportto persistent use of dafontdownloader script:
echo "export PATH=${PATH}:"$HOME"/.local/bin" >> "$HOME"/.bashrc
- Use
sourceto start using script in command line:
source .bashrc
-
Download this repository, or use
git clone https://github.com/resilientcod/dafontdownloader.git -
Open repository directory.
-
Use
python3 setup.py install -
Follow the steps 2 and 3, to persistent use of dafontdownloader script.
Attention: use at your own risk!
sudo pip install dafontdownloader
This allow install in bin directory, making it unnecessary to use steps 2 and 3 in the first way.
After installation, type dafontdownloader in the terminal to verify that everything is correct,
as in the image:
Then use: dafontdownloader <name-font> to download and install fonts from dafont site.
Example:
dafontdownloader Nemesis Grant
Attention: Make sure you type the name correctly!
The fonts are installed in the user's local .fonts directory
Enjoy!
