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.7 Accommodating browser font-rendering differences


21.7.7 Accommodating browser font-rendering differences

Some browsers (Opera and Safari, for example) do not support OpenType and TrueType fonts. Mozilla browsers (Firefox, for example) support these fonts only when you use <font> tags. For example, you cannot get Firefox to render a character in a special font such as Webdings or Wingdings unless you enclose the character (using its standard ASCII equivalent) in a <font> tag with the face attribute. For example, you would need the following code to make Firefox display a Wingdings square bullet:

<font face="wingdings">n</font>

You could direct Mif2Go to use <font> tags:

[HTMLOptions]

NoFonts = No

UseFontFace = Yes

However, this workaround is not effective for Opera or Safari, and might not be reliable for any non-Microsoft browser. A better solution is to map any special characters to their Unicode counterparts; see:

§21.6.5 Mapping individual special characters

§21.6.6 Mapping characters in a special font.



21 Mapping text formats to HTML/XML > 21.7 Mapping fonts > 21.7.7 Accommodating browser font-rendering differences