Control-D Delivery Server Fonts Mapping
Font mapping maps original print stream fonts, such as, AFP, Xerox, and PostScript to other types of fonts, such as, TrueType fonts or web-enabled fonts, which enables you to transform reports in the Control-D Delivery Server. You can define fonts in the Font Mapping Editor. Font mapping uses a pre-supplied fontmap.tbl default font mapping table, which includes a list of AFP and Xerox fonts and recommended mappings. The Font Mapping Editor guarantees that documents look the same across various systems and devices when you transform a report.
Font mapping enables you to do the following:
-
Ensure document consistency by aligning fonts across diverse systems and devices.
-
Enhances compatibility by substituting fonts, which accommodates variations in font availability.
-
Supports localization efforts, which enables proper rendering for different languages and character sets.
-
Optimizes printing processes by choosing printer-friendly fonts, which reduces printing issues.
BMC recommends that you map AFP and XEROX fonts to one of the following TrueType fonts: Arial, Courier New or Times New Roman. These fonts are always available in the Windows and do not embed in generated PDF files, and they do not require web fonts for HTML transformation.
Mapping Fonts
This procedure describes how to map or modify fonts in the Font Mapping Editor tool, which enables you to transform AFP and XEROX reports.
Begin
-
From the Tools drop-down list, select Font Mapping Editor.
The default font mapping file, fontmap.tbl, appears in the Font Mapping Editor window.
-
(Optional) Do the following to open a different font mapping file:
-
From the toolbar, click File, and then select Open.
The Open Font Table window appears.
-
Select a file and click OK.
The selected font mapping file appears in the Font Mapping Editor window.
-
-
In the Original Font field, select the line to map the font.
-
For each field, define the required parameters, as described in Font Mapping Editor Parameters.
-
(Optional) Click File, then click Save As, which enables you to save the changes in a different file.
-
Click Save.
A font is mapped.
After changing the font mapping table, manually copy the installation_folder\transformer\res\fontmap.tbl file from the Control-D Delivery Server to all computers where Control-D Delivery Server is installed.
Font Mapping Editor Parameters
The following table describes the Font Mapping Editor parameters, which enables you to map AFP and XEROX fonts.
Parameter |
Description |
---|---|
Original font |
Determines the original AFP, Xerox, PostScript, or PCL font name, or mask. You can use the following wildcard characters: to define masks: Valid values:
|
Original Weight |
Adjusts the lightness or boldness of the font: Valid values: 200 (Extra Light) − 900 (Heavy) |
Original Style |
Determines whether the font is upright (Roman) or italic. |
True Type (.ttf) |
Defines the name of the corresponding (mapped) TrueType font. |
HTML |
Determines the name of the corresponding (mapped) HTML font so that web browsers can use them. Valid values:
|
HTML Family Type |
Determines the HTML font family type. The browser selects an alternative font from the font family specified in the HTML Family field when the selected font cannot appear. Valid values:
|
HTML Weight |
Determines the lightness or boldness of the HTML font. Valid values: 200 (Extra Light) − 900 (Heavy) |
Spacing |
Determines the narrowing or widening of spacing between letters. Valid values: −10−10 Default: 0 |
HTML Style |
Determines the HTML font is upright (Roman) or Italic |
EOT |
Defines the name of an EOT (Embedded OpenType) web-enabled font name created by Microsoft EOT technology, as described in Map to web-enabled Fonts. |
PFR |
Name of a PFR (portable font resource) web-enabled font name created by Bitstream PFR technology, as described in Map to web-enabled Fonts. |
Converting and Mapping Fonts
This procedure describes how to convert and map a group of fonts, AFP fonts, and XEROX fonts to a TrueType font, which enables you to use TrueType fonts and optimize reports.
Begin
-
From the Tools drop-down list, select Font Mapping Editor.
The Font Mapping Editor window appears.
-
From the Font Mapping Editor window, click the Add New Fonts.
The Add New Fonts dialog box appears and lists original fonts in the default resource directory.
-
From the Fonts List, select the required fonts that you want to map in the New Fonts Added.
-
Click Add or Add All.
The current mapping overrides the earlier mapping when you select a mapped font.
-
From the Mapping area, do one of the following actions:
-
From the Map to drop down list, click the required TrueType font.
-
Select the Convert & Map checkbox to convert an original AFP or Xerox font.
-
-
To compare the original font to the selected output font, do the following:
-
Click Compare.
-
Select the AFP or Xerox checkbox and click OK.
-
The Font Compare window appears.
-
Compare the fonts, as described in Comparing Fonts.
-
-
Click Map to accept the defined mapping.
-
Repeat the steps as required.
-
Click Map & Close.
The converted and mapped font appears in the Font Mapping Editor window.
Comparing Fonts
This procedure describes how to compare font, which enables you to compare the selected output font against the original font, before you transform reports.
Begin
-
Open the Font Compare window, as described in Step 1−6 in Converting and Mapping Fonts.
-
Define a test string in the String Testing field.
-
In the Original Font selection field, select the original font.
-
In the New Font selection field, select the desired TrueType font.
-
Click Apply.
The character set and the test string appear for both fonts.
-
Click Map when to approve the mapping combination.
-
Otherwise, select other TrueType fonts to compare.
-
Repeat the steps as required.
-
Click Close.
-
Click Map & Close.
The converted and mapped font appears in the Font Mapping Editor window.
PostScript Fonts Mapping
PostScript reports reference External fonts for those not included in the PostScript report, or Embedded fonts that are part of the PostScript report itself. A standard PostScript, such as Courier, Times New Roman, Arial, or Helvetica, do not require mapping. You must include the PostScript font filename in the fontmap.tbl file when PostScript External fonts are not standard but use a standard encoding. Times New Roman is the default font when you leave the field blank.
PostScript Embedded fonts appear as an image unless you map them, as described in Converting and Mapping Fonts.
The Report Clique Embedded_Raster parameter can force the PostScript Interpreter to force embedded PostScript fonts to raster and transform.
Valid values:
-
Yes: The font is rastered even when mapping exists in fontmap.tbl file.
-
No: The font appears as text when a TrueType font exists.
Default: No
Map to web-enabled Fonts
Web-enabled fonts enable you to view HTML pages by using HTML fonts that reside on the server. The server fetches dynamic or embedded fonts on demand. Microsoft Corporation and Bitstream Inc. offer mechanisms to support web-enabled fonts. BMC does not supply the following products, which are available for purchase independently:
-
Microsoft: Embedded OpenType (EOT) fonts.
-
Bitstream: Portable font resource (PFR) fonts.
Viewing Print Stream Reports on the Control-D Delivery Server
This procedure describes how you can use web-enabled fonts in Control-D Delivery Server to ensure consistent, readable, and accessible print stream reports across various digital platforms and web browsers.
Before you Begin
-
Generate TrueType fonts from the original AFP or Xerox fonts used by the relevant reports, as described in Converting and Mapping Fonts.
-
Use the generated TrueType fonts to create EOT or PFR web-enabled HTML fonts, as described in Configuring Microsoft or Bitstream Products.
Begin
-
Map original AFP or Xerox fonts to web-enabled fonts, as described in Converting and Mapping Fonts.
-
Prepare the Microsoft of Bitstream products, as described in Configuring Microsoft or Bitstream Products
-
Update the driver, as described in Updating the Microsoft or Bitstream Driver:
-
Define the Driver information on the Font Mapping Editor.
-
Map the original fonts to the EOT or PFR fonts.
-
Configuring Microsoft or Bitstream Products
The following procedure prepares the Microsoft or Bitstream products you can use to map fonts and are not functions of Control-Delivery Server.
For details about these steps, see the relevant Microsoft or Bitstream documentation.
Begin
-
Generate the Microsoft EOTs or BitStream PFRs for the fonts your reports require.
You must include the following:
-
The URL where pages are located.
-
The URL of your Control-D Delivery Server.
Use either the URL, such as http://www.yoursite, or use the explicit IP address, such as http://172.96.7.21.
You must identify the IP address of each Control-D Delivery Server that uses these fonts.
-
-
Declare the PFR MIME type at your server.
-
MIME type: application/font-tdpfr
-
File extension: pfr
-
-
Customize tdserver.js.
Edit the tdserver.js file and set the URL for the server to the location of the tdserver.cab related to the wfplayer.
Updating the Microsoft or Bitstream Driver
This procedure describes how to update the Microsoft or Bitstream Driver after you configure Microsoft or Bitstream Products, as described in Configuring Microsoft or Bitstream Products.
Begin
-
From the Tools drop-down list, select Font Mapping Editor.
-
From the Font Mapping Editor window, click Tools, and then select Drivers.
-
Fill in the fields as follows to automatically download fonts:
-
Bitstream: Define the appropriate URL in the PFR field.
-
Microsoft EOT: Define the appropriate URL in the EOT field.
-
-
Click OK.
The driver is updated.
Effect of font mapping on output types
The following table lists the different types of output and describes the effect of font mapping on each output type.
Output type |
Effect |
---|---|
Bitmap |
The font does not raster as an image on the bitmap, but appears a TrueType font when you map a font to TrueType. |
|
The font always embeds in the PDF file as text, even though the correct TrueType font is available when you map a font to TrueType. |
HTML |
One of the following actions occurs:
|
PCL |
The font does not raster, as an image, on the bitmap, but appears a TrueType font when you map a PCL font to TrueType. |
Arial, Courier New, and Times New Roman TrueType fonts are always present in the Windows environment. Therefore, unlike other fonts, they do not embed in PDF files, and they do not require web fonts for HTML transformation.
BMC recommends that you map AFP, Xerox, and PostScript fonts to Arial, Courier New, and Times New Roman TrueType fonts.