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).
If you watch Adams (@Elixir) video on self hosted fonts you he shows you how simple it is to convert with FontSquirrel.
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.
Now the custom CSS comes in.:
font-feature-settings: “ss01” on;
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
Typeface 11 will use
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.