Is it possible to include and automatically install custom fonts as part of a theme?

I have a new theme I’m working on, but obviously the font doesn’t automatically transfer between devices when syncing the CSS. Is there a way to do this?

Yes, just include them as a base64 encoded data URL:

https://patdavid.net/2012/08/embedding-fonts-with-css-and-base64/

2 Likes

Thanks, this worked a treat. Ended up using this site to convert my font to Base64 for anyone else searching in the future: