I’m trying to load custom fonts that are hosted on GitHub. Specifically the Google fonts here: https://github.com/google/fonts
I’ve tried both using the source api to have the files moved from git to hosted with shotstack and using the github url specifically (ex. fonts/ofl/narnoor/Narnoor-Regular.ttf at main · google/fonts · GitHub) but neither seem to work. Is the only option to download all of the files and upload? I thought the Github urls were a public option.
In the CSS, you need to use the correct font-family name, in this case it is just Narnoor. Sometimes the family name is less obvious so you might have to download the font and open it in your OS font viewer.