0

I have a requirement where I need to check in my SharePoint page whether a custom font is installed on the browser running it or not. Accordingly I need to update a CSS class which makes the use of that font.

So is there any way through which I can detect that whether a font is available on client browser (IE and Firefox)?

Alex Angas
  • 59,219
  • 41
  • 137
  • 210
  • I don't think this really has anything to do with SharePoint (and certainly not 2007). Yes its running on SP but is there anything about the question that is specific to SP? If not then is it better on StackOverflow? – Ryan Jun 17 '11 at 12:18

1 Answers1

0

This javascript method seems to work -- check out the test page.

ngm
  • 7,277
  • 1
  • 53
  • 62
  • This dosent seem to work when u have custom fonts. I tried testing for Helvetica font which is not installed on my system but then also it retutrns yes. –  Oct 07 '10 at 17:54