JenniferSimonds / FontDetect

A JavaScript class you can use to determine whether a webfont got loaded, which font is being used by an element, or react to a webfont getting loaded (or failing to load).
MIT License
67 stars 10 forks source link

whichFont should return the name of an element's font if it's a fallback font. #7

Closed JenniferSimonds closed 10 years ago

JenniferSimonds commented 10 years ago

whichFont() returns null if an element's font is one of the fallback fonts. It should return the name of the fallback font instead.