By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,818 Members | 2,121 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,818 IT Pros & Developers. It's quick & easy.

testing the availability of a font

P: n/a
Hi folks,

Does somebody know how to test the availability of a font on the browser
platform ?

Thanks for your help
Martin


Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Martin RAYROLE <ma************@alcatel.fr> writes:
Does somebody know how to test the availability of a font on the browser
platform ?


No. Can't be done in a normal browser.

You should provide fallbacks instead, using the CSS font-family
property:
font-family: Helvetica, Arial, sans-serif;

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

P: n/a
Thanks a lot Lasse,

It's too bad that it is not possible, but your fallback is usefull indeed.

Best wishes
Martin

--------------
Lasse Reichstein Nielsen a écrit :
Martin RAYROLE <ma************@alcatel.fr> writes:
Does somebody know how to test the availability of a font on the browser
platform ?


No. Can't be done in a normal browser.

You should provide fallbacks instead, using the CSS font-family
property:
font-family: Helvetica, Arial, sans-serif;

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'


Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.