A Complete Guide to Web Design

(やまだぃちぅ) #1
OpenType (for Internet Explorer) 455

Embedded
Fonts

OpenType (for Internet Explorer)

Web Design in a Nutshell, eMatter Edition

Internet Explorer 4.0:
In addition to the<link>tag, you must add a pointer to an ActiveX
control (immediately following the<link>tag). The following example
points to an ActiveX control on Bitstream’s TrueDoc server. You can
point to this control from your page or seehttp://www.truedoc.comfor
more information on putting an ActiveX control on your own server.
<SCRIPT LANGUAGE="JavaScript">
if (navigator.appName == "Microsoft Internet Explorer"){
if (-1 != navigator.appVersion.indexOf ("Windows", 0)){
document.writeln("<object");
document.writeln("classid=\"clsid:0246ECA8-996F-11D1-
BE2F-00A0C9037DFE\"");
document.writeln("codebase=\"http://www.truedoc.com/
activex/tdserver.cab#version=1,0,0,5\"");
document.writeln("id=\"TDS\" width=0 height=0");
document.writeln(">");
document.writeln("</object>");
}
}
</SCRIPT>

MIME type
Because TrueDoc font files are accessed via a link, you need to configure the
server to recognize.pfrrequests. The MIME type isapplication/font-tdpfr
and the file extension is.pfr.
For Windows NT servers, the complete string (including gopher type) is
application/font-tdpfr,pfr,,5:REG_SZ:
For more information, see Bitstream’s instructions athttp://www.bitstream.
com/world/dynamic.htm#forsas


Security (Protecting Font Copyrights)



  • Bitstream’s DocLock is a system for matching a.pfrfile to a specific
    domain name. This prevents Portable Font Resource files from being
    downloaded and used on a server other than the one for which it was
    created. In addition, web pages on other servers cannot link to.pfrfiles
    on other servers. This system approximates a typical font “site license”
    agreement.

  • Because the font information stays within the browser, and is not down-
    loaded to the operating system, it cannot be used for purposes other than
    viewing that web page.


OpenType (for Internet Explorer)


OpenType technology was developed by Microsoft and Adobe. It was originally
intended to combine TrueType and Type1 technologies, however, Type 1 support
is lagging behind, and as of this writing, OpenType supports only TrueType fonts
(although Type1 capabilities are expected to be added soon). Its other drawback,
as of this writing, is it is only supported by Internet Explorer running on Windows
machines.

Free download pdf