Comment 2 for bug 1292301

Revision history for this message
Robert Lyon (robertl-9) wrote :

Well this seems odd - we can install a google font from a zip file but when we display the font anywhere it is fetched directly from google via:

http[s]://fonts.googleapis.com/css?family=[name of font] and never actually uses the uploaded font files at all

So why do we even need to save the google font file at all?

When a site font is used in a skin and we export the skin the xml contains the site font files - but with a google font it does not contain the file.

Anyway the main reason why it is not deleting is that the file is saving in the skins/fonts/ directory rather than in it's own subdirectory. Eg for font 'bob' it should be saving in the skins/fonts/bob/ subdir.

I'll add a patch to fix that for now - with an upgrade to move existing google font files to the right subdirs