[HTML Fonts] Section

[HTML Fonts] lists available fonts for Production Reporting when printing using ‑PRINTER:EH. Fonts are case sensitive.

Each entry is defined to be:

font_number=CSS_Style

The following describes each part of the entry:

font_number

Font number used within the Production Reporting program

CSS_Style

A modified CSS style added to the reports style sheet that describes the corresponding font number. The CSS style is used to help browsers with font matching when rendering HTML. The modifications to the normal CSS rules for font specification are to disallow use of the font-size or font-size-adjust properties and to disallow any values of 'inherit' for properties that would normally allow the 'inherit' keyword. Production Reporting appends the font-size automatically when adding the font rule to the CSS file (see the ALTER-PRINTER command).

A CSS style is useful for a font that is normally considered italic or oblique since Production Reporting does not support the use of italic or oblique fonts through language constructs and cannot always generate a correct style entry automatically.

For example, assume that you define font 901 to be 'Arial Italic'. This is a valid font name; however, the CSS specification will not allow 'Arial Italic' as a font family. Instead, you need need to add an entry to the [HTML Fonts] section as follows:

901=Font-family: Arial, sans-serif; Font-style: Italic;

Note:

You must put quotes around values for a Font-family that contain white space. For example, “Times New Roman”.

Note:

A Font-family entry contains a list of fonts that the browser searches from left to right until it finds a match. It is a good idea to end each list with a "generic family" such as sans-serif or monospace to ensure a more reasonable approximation is made during rendering if the specified font is not available to the browser.

For more information on CSS rules for Fonts, the allowed syntax of such rules, and the list of "generic family" fonts (and their descriptions) see:

http://www.w3.org/TR/REC-CSS2/fonts.html#font-specification?