| Microsoft Typography | ...on the Web | ...embedding | ...WEFT 2 | Webfonts.exe... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A number of 'expert' Web authors have requested a simplified model for using Weft, one that may be easily automated. These authors are interested in creating the font objects, but they are not interested in or may not be able to provide all of the information that Weft asks for. To help streamline the process of creating embedded font objects, we've designed a command line interface. With this interface, the user specifies a font file, a file containing a character 'keep list,' and a set of root URLs to which to bind the font objects.
The command line interface is a stand-alone application, based on the WEFT OLE automation objects. The source code for the application is included in this SDK.
The command line follows the general syntax of: [cmd] [arg1] [arg2] ... [argn] The commands are one word tokens. The arguments are single flags or flags followed by a value. For example '/Arg' or '/Arg value'. The interface also supports single and double quoted strings as well as '\'-escaped characters.
The available commands are:
Crawls through an entire site, and creates optimal EOT's for encountered fonts in encountered pages. This is a potentially destructive command.
Creates an EOT and generates a CSS declaration of it.
Analyzes one web page and reports the use of fonts within it.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Microsoft Typography | ...on the Web | ...embedding | ...WEFT 2 | Webfonts.exe... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||