Permalink
Browse files

emitting a warning if a font can’t be loaded

  • Loading branch information...
nvh committed Jul 21, 2017
1 parent b39ecb6 commit 72ed711e298c86702caba113b7482f946551f3a7
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/Utils.coffee
View
@@ -560,6 +560,7 @@ Utils.loadWebFontConfig = (config) ->
f()
config.fontinactive = (font) ->
console.warn("Tried to load unavailable font: '#{font}'")
_isFontLoadedResults[font] = false
customFontinactive?(font)
if fonts.length is 1

0 comments on commit 72ed711

Please sign in to comment.