This document is too long and explains a pretty simple concept too much in detail. It would be improved greatly if shorted and clarified.

Manage Substitution Fonts

This feature allows you to substitute fonts defined in design time with different fonts at the the time of printing or previewing the report.

Contents

Map Substitute fonts

Use the Font Mappings form in Solution Manger under Info Services to map fonts in runtime.

The idea behind substituting fonts is that, you can preview/print a report using a different font than what is defined in the layout at design time. That is, you can specify a font that matches the language in which the report is run. For example, if a report layout containing Times New Roman font is being previewed in Japanese the user is able to view all occurrences of Times New Roman with a font representing Japanese support, for instance MS Gothic.

If you wish to substitute more than one font, list each entry in the above form together with the language specify which font you wish to use as the replacement in runtime. Say a report layout contains Times New Roman and Arial. When the report is printed in Japanese, you wish to substitute Times New Roman and Arial with two Japanese fonts MS Gothic and MS Mincho respectively. What you can do is, add two entries one for the Font Arial and the other for Times New Roman with Language as Japanese and Maps to Font having the two Japanese fonts. See above.

It is not only the substitute font but you can also specify if the size of the font should be changed. The size can be increased or decreased to suit the substitute font depending on whether it is wider or not than the design time font. Setting the Font size change to a negative number will help to fit the data inside table-cell or block container if the substitute font is wider. Use a positive value to improve output clarity but be mindful that block containers have a fixed size and do not grow in height unlike rows. Therefore, data placed in block containers may not be displayed in full when font size is increased.

Other standard operations available in the toolbar are: Save, Create New and Delete.

After mapping the fonts and size changes simply preview/print the report using the language specified in this form. Based on the example above, when the report is previewed/printed in Japanese all fonts defined as Arial in the layout will be replaced by MSMincho and TimesNewRoman will be replaced by MSGothic.

Add new fonts in runtime

If the font being used as a substitute is not included in the standard installation of Report Designer Layout Tool  (see below, for a list of standard fonts) then you must add this new font in to the runtime by updating the Report Formatter and include the new font. In the example above, the two substitute fonts MSGothic and MSMincho are not part of the standard installed fonts and have to be added separately in order to have them display in runtime. To learn more on how to include and use new fonts in runtime read Working with Fonts.

Following is a list of fonts that come with the standard installation of the Report Designer Layout Tool. The name of the font as defined in the font metrics XML file as <font-name></font-name> (the name that must be used in this form) is listed on the right hand side column. 

Font Name as defined in the font metrics file
Arial Arial
Arial Narrow ArialNarrow
Comic Sans MS ComicSansMS
Courier New CourierNew
Garamond Garamond
Times New Roman TimesNewRoman
Sazanami Gothic (free Japanese font containing over 13,000 characters) Gothic