Roboto Slab
In WordPress 6.5, the fontFace setting received a massive update. These are the most common parameters:
- fontFamily. The name of the font.
- src. Source, the path to the file in the theme folder.
- fontWeight. Optional. A list of available font weights, separated by a space.
- fontStyle. Optional. Select a font style like normal or italic.
- fontStretch. Optional. You can for example use this with font families that have a condensed version.