1MKEOT(1) EOT UTILITIES MKEOT(1)
2
3
4
6 mkeot - generate Embedded OpenType
7
9 mkeot font-file [ URL [ URL ... ] ] > EOT-file
10
12 The mkeot command writes an EOT (Embedded OpenType) file on standard
13 output that contains the given font file (OpenType or TrueType) and the
14 given URLs.
15
16 mkeot handles TrueType files, OpenType files with TrueType outlines,
17 and OpenType files with Postscript outlines. (Technically: all files
18 with the "sfnt" format.) However, Microsoft's Web browser Internet
19 Explorer (version 8) cannot handle Postscript outlines. To use EOT
20 files with that browser, OpenType files with Postscript outlines must
21 be converted to TrueType files first. Several prgrams are able to do
22 that, including the free fontforge.
23
24 The URLs that are added to the EOT file list the Web pages on which the
25 EOT font may be used. They act as prefixes, which means that, e.g., a
26 URL such as http://example.org/foo enables a font not only for that
27 precise page, but also for http://example.org/foo2 or http://exam‐
28 ple.org/foo/bar or any other pages whose URL starts with the prefix.
29
30 The EOT specification allows EOT files without any URLs, but is not
31 clear on the meaning of such a file. In practice, at least in Micro‐
32 soft's Internet Explorer (version 8), an empty list of URLs means the
33 font applies to no Web page at all.
34
35 EOT font are typically used for Web pages. To that end, a link (URL) to
36 the EOT file must appear in the Web page's style sheet. A typical rule
37 in CSS looks like this:
38
39 @font-face {
40 font-family: My Fancy Font;
41 font-style: normal;
42 font-weight: normal;
43 src: url(http://example.org/fonts/fancy-roman.eot);
44 }
45 body {
46 font-family: My Fancy Font, serif;
47 }
48
49 This downloads the EOT file from the given URL and declares it to be a
50 font of normal weight and roman style with the family name "My Fancy
51 Font." That font can then be used in style rules, such as, in this
52 example, to set the font of body text. See the "CSS Fonts Module level
53 3" for details on CSS.
54
55 TrueType files typically have the extension .ttf, OpenType files typi‐
56 cally have the extension .otf and EOT files typically end in .eot.
57
59 eotinfo(1), fontforge(1), WEFT (http://www.microsoft.com/typogra‐
60 phy/web/embedding/weft3/default.htm), EOT (http://www.w3.org/Submis‐
61 sion/2008/01/) CSS Fonts Module level 3 (see
62 http://www.w3.org/TR/css3-fonts/)
63
65 mkeot does not apply the optional MicroType Express compression.
66
67 mkeot may fail with fonts that have non-ASCII characters in their
68 names.
69
70 mkeot cannot handle fonts that use (only) language tags instead of tra‐
71 ditional Microsoft/Apple language numbers in their names table. (Luck‐
72 ily, this feature of OpenType version 1.6 appears to be little used.)
73
74 mkeot does not subset the font, unlike Microsoft's graphical WEFT tool.
75 To make a EOT file with a reduced set of glyphs, you must first create
76 a subsetted TrueType font with a font editor.
77
78
79
801.x 25 Jan 2010 MKEOT(1)