Browse Source

Merge pull request #5848 from Snuffleupagus/fix-node-getinfo-example

Fix the node getinfo.js example
Tim van der Meij 10 years ago
parent
commit
4e95362f8f
  1. 3
      src/display/font_loader.js

3
src/display/font_loader.js

@ -105,7 +105,8 @@ var FontLoader = {
nativeFontFaces: [], nativeFontFaces: [],
isFontLoadingAPISupported: !isWorker && !!document.fonts, isFontLoadingAPISupported: (!isWorker && typeof document !== 'undefined' &&
!!document.fonts),
addNativeFontFace: function fontLoader_addNativeFontFace(nativeFontFace) { addNativeFontFace: function fontLoader_addNativeFontFace(nativeFontFace) {
this.nativeFontFaces.push(nativeFontFace); this.nativeFontFaces.push(nativeFontFace);

Loading…
Cancel
Save