Applying a font substitution table
- Open the main project InforM3MainProject.dcproject from the location where you installed the XMLStoryTeller project template.
- Double-click GlobalResources resource set.
- Right-click the table folder. Click New > table. Name the file fontmap.tbl, or something similar.
-
Double-click the create table fontmap.tbl. This action opens
the Edit program where you can define the font substitution
table.
You can add these lines to change the Arial font to Tahoma:
Current string New string mapfont "Arial" "Tahoma" mapfont "Arial_Bold" "Tahoma_Bold" mapfont "Arial_Bold_Italic" "Tahoma_Bold" mapfont "Arial_Italic_Underline" "Tahoma_Underline" For further details, see the Exstream documentation.
- Save the file and exit.
-
Double-click pltGlobalPlatform.
- On Platform, right-click the output connector FILE_PDF and select Settings.
- On Output Connector Settings - FILE_PDF, select the platform layer.
- Click the green square icon under Device Driver Settings to browse to the new font substitution table fontmap.tbl.
- On Browse for Resources, select the Global Resources resource set, then select font.map.bl.
- Click OK.
- Repeat the previous step for other output connectors MAIL_PDF, ATTACHMENT_PDF, and IDM. You can also use the steps for PCL, MATRIX, and MAIL_HTML.
- Click Save and close Platform.
- To test the font substitution, export and deploy your application. Proceed with normal testing.