Currently, the Web Font javascript library is loaded from the google CDN (ajax.googleapis.com), which is blocked from accessing in mainland China. Therefore hosting the javascript locally is desired.

Comments

btmash’s picture

I'm going to figure out how to compile the project so the js can be included with the module (since it has an apache license, it should be ok since we are GPLv3 and also since I am compiling it). Will try to update by EOD today.

  • BTMash committed d62cec8 on 7.x-1.x
    Fix for [#2321097] - Compile local version of webfont.js to work around...
btmash’s picture

I just made a commit in the 7.x branch if you want to try out the dev version. Basically, using the 'cached' copy will use the compiled version of the webfont.js library that is packaged with the module now instead of trying to download it. So you need to check the cached version checkbox on the webfont loader admin page.

btmash’s picture

Status: Active » Needs review
btmash’s picture

Status: Needs review » Fixed

I'm marking this as fixed - has been working for me so far. Will be in next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.