Hi,
I know how to call google font throught URL but how to host and call google locally on T3 templates?
Thanks
Hi toonetcreation
You can download google font and upload it on your template in /fonts folder
Regards
Yes I have done this step. Then I have created new folder on : /templates/ja_XXX/fonts/roboto and unzipped files I get this, but how to call it from assets.xml file?
Hi@toonetcreation#3946
You have to add the url in it
ok but when I download roboto font from google website, I have no CSS file. only .ttf files. so how can I do?
toonetcreation
You can use a font generator that allows you to generate also a stylesheet Try to look HERE
ok thanks I will check this out. thanks
I would consider how the download time of the locally hosted font might impact site performance and test the site with the font installed and without
Best of luck with it
Cheers Paul
yes maybe, that's why I need to test it. but calling fonts from outside instead of locally is a single point of failure. if external source is unavailable, fonts will not be displayed anymore on website front end.
Yep absolutely It is a trade off and filesizes vary between font families Personally I've only ever done this once and that was a non google font where we had a license
Have a great weekend 🙂
I did it like you with another font (no google font). that's why now I want to test it with google font ;-)
have a great week-end too 🙂
Thanks 🙂
Best of luck with the fonts
just for info after adding roboto font locally. after some tests, there is no performance issue.