Yes, there was no way to detect fonts on your computer without using Flash.
Webfontloader[1] uses javascript to detect whether a specific font is available. They use a hack where they change the font of a piece of text and calculate whether the width has changed, indicating the system is using specified font instead of the default serif or san serif. If you had a large list of fonts, you could filter out the ones the user has.
I'll check the library and see if I can use it. Being a JS noob I just patched up whatever I could find. I know there is lot of scope for improvement in code.
http://www.imgur.com/mup4T.png
You really need a better fallback than NOPE these days when it comes to flash.