Managing (web-) fonts differs slightly between using your own fonts as well as Google and Adobe. This is why we have
four sub-stacks within the Font stack:
- Web Fonts for your own fonts - either created by yourself or bought from any vendor of web fonts
- Google Fonts
- Adobe Fonts
- Embedded Fonts for subsetting and base64 embedding fonts into CSS
The General section is the same for all Font substacks, exceptions are indicated.
This tutorial assumes that you are familiar with the workings of Adobe Fonts, particularly how to create a "Web Project". Further information how to do this can be found here.
With this stack you can use basically all web fonts in your RapidWeaver projects. The stack can be run either in the (simpler) standard mode, which is used for .woff font files, or in advanced mode, in which you can use almost any font file type.
While the above is suitable for most situations, you might however have to support exotic or older web browsers.
And again as mentioned above: you can repeat these exact steps for Italic, Bold and Bold-Italic fonts.
The Embedded Fonts stack opens completely new options to use almost any font on your web-page. It combines this with an efficient subsetting feature which helps to keep the amount of loaded data at a minimum.
Let's save money!
Using this stack requires a bit more work, though. Work, not money because, as you will see, there is no need to spend additional money for a font tool and other utilities.
Applications —> Utilities —> Terminal.app
If you are a Terminal-hater then you can purchase a graphical tool for the steps below in the App-Store. Search for "base64".
You can also drag items from Finder into Terminal to automatically "type" their path and name. Read here how to do that.
Any programming editor should work, such as Atom, TextMate, or even the built-in Text-Edit.
If we now enter our text, it is almost as we wanted it, except for the curly characters - yet.
Here we can set the scope to which this particular instance of the Fonticus stack should be applied. This can be an HTML element (Page scope), a CSS class or CSS selector. Or all of them combined.
The selected scope(s) are displayed in the stack instance in Edit mode.