Font not applied to fields in a Rich Text Block

Some fonts that are applied to a field in a Rich Text Blocks can revert back to the previous font applied to that field when the Rich Text Block is saved.

This can happen if the font does not contain the full range of ANSI characters. If the '«' and '»' characters are missing from the font Microsoft Word will fall back on the old font when representing the field in the Rich Text Block. This is most likely to happen when applying a Barcode font to the field.

It is still possible to apply such a font to a field in a Rich Text Block using styles and stylesheets as a workaround. The following instructions give an example how to do this:

  1. Create a new character style in the Style Document configured for the project.
  2. Select a standard font this style ('Arial' or 'Courier New' are recommended).
  3. Apply this style to the field in the Rich Text Block.
  4. Create a stylesheet document in Microsoft Word, outside of the ITP/MDK Repository environment, and create a character style with the same name as defined in the Style Document within ITP/MDK Repository.
  5. Assign the appropriate characteristics, including the font, to the style in this stylesheet document.
  6. Use the stylesheet function in the model to override the styles using the stylesheet document.
    Please refer to the ITP Model language Help for more help on the stylesheet function.

The style in the stylesheet document will override the style in the Rich Text Block, thus applying the desired font to the contents of the field, when the result document is produced.