30.6.1 Specifying a default font and size

You can specify the default font and size to use; for example:

[Base]
; Font name and size put out at start of file, default none
Font=Times
Size=3

Not all browsers respect this setting. If you use CSS, the default value of Basefont is reversed to No; see §31.5 Understanding how CSS affects other options.

You can suppress the <basefont> tag entirely, or omit the face attribute while retaining size:

[HTMLOptions]
; Basefont = Yes (default) or No (no <basefont> tag put out)
; Default is reversed to No if UseCSS=Yes.
Basefont = No
; UseFontSize = Yes (default, allow size attrib in font tags) or No;
; reversed for Eclipse Help and JavaHelp
UseFontSize = No
; UseFontFace = Yes (default, allow face attrib in font tags) or No
UseFontFace = No

For Eclipse Help and JavaHelp, the default value of UsefontSize is reversed to No.

If you do not use CSS, and you are not using <font> tags either, you will get whatever fonts a browser specifies as defaults.

Previous Topic:  30.6 Mapping fonts

Next Topic:  30.6.2 Mapping font sizes

Parent Topic:  30.6 Mapping fonts

Sibling Topics:

30.6.2 Mapping font sizes

30.6.3 Including or excluding font tags

30.6.4 Excluding face and size attributes from font tags

30.6.5 Accommodating browser font-rendering differences

Table of ContentsIndex