font
packageInstall Python
Open the cloned repo through a text editor (eg Sublime Text)
In the cloned google-font-to-fastn repo, open the read_google_font.py file
Search for package_name variable and change the value with your font repository package name. Also, search for repo variable and change the value with the alias name (eg: lato-font)
Open the terminal and navigate to the directory of the cloned google-font-to-fastn repo
python3 -m pip install requests
python3 read_google_font.py
(This script will generate FASTN.ftd and static folder in the google-font-to-fastn repository)
Now, open the FASTN.ftd of the font repository you created using the font-template
Paste the copied --fastn.font sections there and Commit the changes
Now, open the custom.ftd file and replace with the selected font name (eg: Lato)
Copy the static folder that was created in the google-font-to-fastn repository when you executed the command and paste it in your repository
You have successfully created your custom font
This will generate your live URL once the workflow Page Build and Deployment executes successfully.