I know nothing about that, but it doesn’t seem to have wide support for most browsers:
I maybe not the right person for this, I only use web fonts (Google or others) rarely. I try to talk people out of using them. To me fonts are all about readability and not styling or decoration. Using less bandwidth and will loading faster to me is much more important than the “look” or “decoration” that a web font provides.
I could play around and get it to work With Foundry:
I download the Jost font from the link you gave above (GitHub).
The file only contains TTF (TrueType) and OTF (OpenType) formats not the needed WOFF (Web Open Font Format).
In the folder you can download (Jost-master) there is a sub folder called fonts, the only file I could get to work is with font-feature-settings is the folder called Jost-VF.ttf (it’s in the main fonts folder not the sub folders (ttf, otf).
Not being a web font user my guess is that the “VF” stands for Variable Font.
Once I got the one font converted to WOFF, I copied the font to resources and set the Typeface stack with a Self hosted like Adam’s video shows. I point multiple font wieghts (normal and Italic) to that same single Resource. That seems to work.
In this test I set it to Typeface 10. You can use what you want the Foundry CSS seems to follow that naming conversion Selecting Typeface 10 will create a CSS class name of .foundry-typeface-ten, Typeface 11 will use .foundry-typeface-eleven.
Hope this helps, I’m no font expert, but could get it to work, There are plenty of people that are font guru’s that might help you out.
Thank you very much, Doug. I am please it did work out for you. Unfortunately, it does not work for me. I managed to get he file “Jost-VF.ttf” on GitHub. I converted it in Font Squirrel Generator. I imported “jost-vf-webfont.woff” to my resources in Foundry. I then created a Self-Hosted Font in Typeface and set assigned it to Typeface 1. I then inserted the following code in my page in CSS (under html code). Is it the right place to inject the code? I tried other places, but it did not work. Here is my page : Studios Drakkar | Photographie d'art
Maybe there is corruption on my Mac with the cache, I don’t know what to do next.
Doug, I managed to do it. My problem was with Font Squirrel. By default, conversion is set to Optimal. I set it to Basic and I then got a functional .woff file. Thanks so much for helping. Not bad for a “non font expert”.