Deprecate installing Google web fonts and rather call them directly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
from Aaron on Bug #1292301:
The way the Google Fonts system is set up by Google, does not require you to download anything. It's all done via CSS Urls that point at Google's servers, or something along those lines. So why do we need to upload a ZIP file? If I remember correctly, it's so that we can have the font files sitting on the web server, so that the server can use them to generate the skin thumbnail images.
The thing is... even that isn't really necessary. We could just ask for the Google font URL stuff, and then fetch the font files using curl. But I didn't have time to fix that when we went live with skins version 1.0, so that's how it currently is. But we should really fix it at some point.
As an added benefit, if we stop requiring file uploads for fonts, then it would probably be secure to allow users to select their own Google fonts directly by URL (assuming that the Google fonts service does some security checking on the fonts they list in their directory), instead of relying entirely on admins uploading them.