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.
- File Format
Embedded OpenType (
.eot)- Technology
Microsoft has chosen to have the operating system handle font rasterization, font scaling, anti-aliasing, and hinting. OpenType “font objects” are downloaded to the client machine and referenced by the browser.
- Font Embedding Tool
Microsoft’s WEFT (Web Embedding Font Tool) is a Windows NT application that can be downloaded for free at http://www.microsoft.com/typography/free.htm
- HTML Code
.eotfiles are embedded via a special style sheet entry using the@font-facefunction. The following code gives the proper syntax for embedding fonts with a style sheet.<STYLE TYPE="text/css"> <!-- @font-face { font-family: font name; src: url(url of the font); } --> </STYLE>In this example, the font object for Interstate Bold (called
interbd.eot) is embedded in the document via a style sheet.<STYLE TYPE="text/css"> <!-- @font-face { font-family: Interstate Bold; src: url(font/interbd.eot); } --> </STYLE>- MIME type
Internet Explorer uses the src:(url) attribute in CSS2 to access font information, therefore, no new MIME ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access