There should be a way to fetch available font to use in the document. Currently, the only popular way is to use Flash calls. document.available_fonts() or document.local_font_list() will be very useful.