I've found a method for finding the list of installed fonts in JavaScript in IE but this does not work when moved to Air. This is because it uses an IE object, dlgHelper.
I've seen several applications in Air that give a list of fonts and I'm wondering how they get it? Are they simply investigating the fonts folder on Windows? Is there a better way to query the operating system that would work cross-platform?
I'm trying to create a text editor that doesn't rely on embedded fonts. I want to use a menu of fonts as you would find in any "real" desktop app.