Font Management
Permalink
I've noticed some themes include a bunch of google fonts.
My question is, if I make a plugin that also uses google fonts, do I need to do all the handy work myself or is there some c5 core code that deals with adding fonts the the site?
My question is, if I make a plugin that also uses google fonts, do I need to do all the handy work myself or is there some c5 core code that deals with adding fonts the the site?
As far as I know, there isn't any core utility that supports Google Fonts (although this is something I would love to see in version 8 as a core feature).
What about fonts in general? How does the system know what fonts are available to use in places like content block and template design options?
This looks useful:
http://documentation.concrete5.org/tutorials/add-more-fonts-to-the-...
Using that, you could prolly load certain Google Fonts in the header, then load them via the above method. Or, maybe use some LESS files to import them in some way.
http://documentation.concrete5.org/tutorials/add-more-fonts-to-the-...
Using that, you could prolly load certain Google Fonts in the header, then load them via the above method. Or, maybe use some LESS files to import them in some way.