脚本<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT type="text/javascript">
function getSystemFonts(){
var cnt = dlgHelper.fonts.count
var str = "系统字体总数:" + cnt + "\n\n"
var list = new Array()
for (var i = 1; i < cnt; i++){
list.push(dlgHelper.fonts(i))
}
alert(str + list.sort().join("\t"))
}
</SCRIPT>
</HEAD>
<BODY>
<OBJECT id="dlgHelper" CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px"></OBJECT>
<INPUT TYPE="button" value="系统字体取得" onclick="getSystemFonts()">
</BODY>
</HTML>
html编辑器中,有很多无法得到系统的字体,这个脚本可以
80酷酷网 80kuku.com