You can query information on the installed fonts, just as the the dialog does it.
You will essentially enumerate through various branches in the font tables to find the information you seek.
See the following article for information on how to get started in this.
EnumFonts function