This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
font-detect-js / README.md
font-detect-js
Uses javascript (jQuery or Prototype) + flash to detect your system fonts.

<!-- element for SWF to load into -->
<div id="font-detect-swf"></div>
<script src="javascripts/jquery-1.2.6.pack.js"></script>
<script src="javascripts/swfobject.js"></script>
<script src="javascripts/font-detect.js"></script>
<script>
$(document).ready(function() {
var fontDetect = newFontDetect("font-detect-swf", "flash/FontList.swf", function(fd) {
var fonts = fd.fonts();
// Do something with fonts, which look like: [ { fontName:'Arial', fontStyle:'regular' fontType:'device' }, .... ]
// for(var i = 0, length = fonts.length; i < length; i++) {
// var name = fonts[i].fontName;
// }
};
});
</script>
There is also a Prototype version at font-detect.prototype.js







