← Back to team overview

mahara-contributors team mailing list archive

[Bug 1292301] Re: Cannot delete a Google web font

 

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

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
     Assignee: Son Nguyen (ngson2000) => Robert Lyon (robertl-9)

** Changed in: mahara
    Milestone: None => 1.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1292301

Title:
  Cannot delete a Google web font

Status in Mahara ePortfolio:
  In Progress

Bug description:
  version: master
  platform: all

  After installing some google web fonts, I can see them on Configure site/Fonts.
  When deletting a installed google web font, I got 'Access denied' message

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1292301/+subscriptions


References