microsoft.com Home   All Products  |   Support  |   Search  |   microsoft.com Home  
Microsoft

Microsoft Typography | ...on the Web | ...embedding | ...WEFT 2 | ...dynamic content next


How WEFT deals with dynamic content

WEFT is able to accurately analyze static HTML pages by using Internet Explorer 4.0 components to determine font usage. For some types of Web content this process is not as straightforward. For dynamic content, active server pages and similar content the tool is usually able to identify the fonts used. However, establishing the scope of font subsets is more difficult, and usually requires some additional input.

Microsoft WEFT can identify the following types of HTML content.

  1. Static HTML.
    HTML pages without any dynamic content.

  2. Cascading Style Sheet files.
    Linked stylesheets.

  3. Client script HTML.
    These are HTML pages containing client scripts, such as those written in JavaScript or VBScript, that may alter the content of the page.

  4. Dynamic HTML.
    Closely related to client script HTML, these are pages that contain Dynamic HTML support. On these pages dynamic changes to headings, lists, tables, paragraphs, characters etc., may be scripted.

  5. Server script HTML.
    These are HTML pages produced from an HTTP server document. These may contain HTML compliant sections. Examples include ActiveX Server Page documents (*.asp) and Internet Data Connectivity HTML Templates (*.htx).


Cascading Style Sheet files

The tool uses Microsoft Internet Explorer 4.0 to determine the fonts and characters used on each page. If a page references a linked style sheet, then this style sheet will usually determine the fonts Internet Explorer 4.0 uses to display the page. Note that WEFT does not modify linked style sheets. Instead the tool modifies the HTML pages by adding code which links the font objects to pages that require them.

In some cases it will be more efficient to reference the font objects within one or more linked style sheets. If you'd like to try this, skip the option asking you if you want to publish the modified pages back to your Web site. Instead, cut and paste the relevant code from the modified pages (by default these will be stored in the 'My Documents' folder) into your linked style sheet.

A word of caution is needed. As style sheets cascade, a font specified in a linked style sheet may be overridden by one specified inline. Also as a style sheet may be linked to any number of pages, care should be taken when choosing an appropriate subsetting level.

For more information about Cascading Style Sheets see our Specifying fonts in Web pages section.



this page was last updated 16 February 2000
© 2000 Microsoft Corporation. All rights reserved. Legal Notices.
please e-mail comments to us via the e-mail address listed here.

 

Microsoft Typography | ...on the Web | ...embedding | ...WEFT 2 | ...dynamic content next