Skip to content Skip to sidebar Skip to footer

Font Detection Through Javascript Only( No Flash)

here is the code for detecting installed fonts available to a browser though javascript,css method.(no flash). this code is modified from lalit.org/lab/javascript-css-font-detect.

Solution 1:

DEMO

<divid="output"></div><script>window.onload=function() {
  document.getElementById("output").innerHTML=Detector.getFontList();
}
</script>

Result on my box:

cursive,monospace,serif,sans-serif,fantasy,default,Arial,Arial Black,Arial Narrow,Book Antiqua,Bookman Old Style,Calibri,Century,Century Gothic,Comic Sans MS,Consolas,Courier,Courier New,Garamond,Georgia,Helvetica,Impact,Jokerman,Latha,Lucida Console,Magneto,Mistral,Monotype Corsiva,Onyx,Palatino Linotype,Parchment,Playbill,Shruti,Tahoma,Trebuchet MS,Verdana

Post a Comment for "Font Detection Through Javascript Only( No Flash)"