Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

21 Mapping text formats to HTML/XML > 21.7 Mapping fonts > 21.7.6 Excluding face and size attributes from font tags


21.7.6 Excluding face and size attributes from font tags

To suppress the face attribute in <font> tags:

[HTMLOptions]

; UseFontFace = Yes (default, allow face attribute in <font>) or No

UseFontFace = No

The default value of UseFontFace is Yes, except for JavaHelp and Eclipse Help; for those output types, the default is No.

Allowing <font> tags for size but not for face avoids interfering with CSS specifications. For example, omitting the face attribute is required for W3C validation of HTML 3.2 for JavaHelp; see §11.3.9 Coping with JavaHelp / Oracle Help viewer limitations.

On the other hand, if you use non-Unicode-compliant fonts such as Webdings and Wingdings, the only way to get certain non-Microsoft browsers to render characters in those fonts is to use the face attribute; see §21.7.7 Accommodating browser font-rendering differences.

To suppress the size attribute in <font> tags:

[HTMLOptions]

;UseFontSize = Yes (default, allow size attribute in <font>) or No

UseFontSize = No



21 Mapping text formats to HTML/XML > 21.7 Mapping fonts > 21.7.6 Excluding face and size attributes from font tags