Support
Linking to WebFont Player Hosted by Bitstream
Bitstream hosts the WebFont Player free for anyone to use. The
player is built into Netscape Communicator (v. 4x only) which means
you do not need to do anything to support Web fonts for visitors
using Netscape Communicator for Windows or the Macintosh.
To support visitors using Microsoft Internet Explorer for Windows,
add the following lines of code to your page between the <HEAD>
and </HEAD> tags and immediately
following the LINK tags for your
Web fonts:
<SCRIPT SRC="http://www.bitstream.com/wfplayer/tdserver.js"
TYPE="text/javascript">
</SCRIPT>
<LINK>
Note: Make sure you add this code AFTER
the LINK tags for the Web fonts, otherwise the fonts may
not display properly. You can put this information inside a comment
tag (<!-- and -->)
to hide it from older browsers.
The following example shows how the code looks after you have added
a LINK tag for a Web font and the extra
code to support WebFont Player:
<HTML>
<HEAD>
<TITLE>WebFont Example</TITLE>
<LINK REL="fontdef" src="/pfrs/snowcap.pfr">
<!-- add link to WebFont Player
<SCRIPT SRC="http://www.bitstream.com/wfplayer/tdserver.js"
TYPE="text/javascript">
</SCRIPT>
<LINK>
-->
</HEAD>
<< back to support index
|