The AFPIN filter > Configuring the AFPIN filter > Character set mapping

Character set mapping
To map AFP character sets to TrueType fonts, use the following syntax:
<AFP charset> CHARSET <font> [style] [size]
where font style and size are optional.
Note:
Example 1
// Charset mapping
C0H200A0      CHARSET       Arial                      11.0
C0H30080      CHARSET       Arial      Italic           8.0
C0H40070      CHARSET       Arial      Bold             7.0
C0H500B0      CHARSET       Arial      Bold,Italic     12.0
 
Example 2
// Charset mapping
C0H200A0      CHARSET       Arial
 
Forced character set mapping
If you want mapped fonts to always be bold or italic, or to never be bold or italic, you use the following keywords:
NOT_BOLD – Mapped fonts will always be plain in the output.
USE_BOLD – Mapped fonts will always be bold in the output.
NOT_ITALIC – Mapped fonts will always be plain in the output.
USE_ITALIC – Mapped fonts will always be italic in the output.
Use the following syntax in the charset mapping:
<AFP charset> CHARSET <font> <keyword> [size]
Example 3
In this case, mapped font will always be bold independent on flags in found AFP charset C0HL05GP.
// Charset mapping
C0HL05GP      CHARSET       Arial    USE_BOLD     5.0
 
Forced font size mapping
You can use “!” to override the font size specified in the AFP charset resource.
Example 4
In this case, the mapped font size will always be 10.0 independent on flags in found AFP charset COHL10GP.
// Charset mapping
COHL10GP      CHARSET       Arial   !10.0
 
Matching multiple character sets
Enter a question mark in the character set name to match multiple character set names. Any character in the position of the question mark is ignored.
Example 5
In this example C?H500B0 matches C0H500B0, C1H500B0, C2H500B0 etc.
// Charset mapping
C?H500B0      CHARSET       Arial      Bold,Italic     12
C?H30080      CHARSET       Arial      Italic           8
 
Specifying font size for multiple character sets
Enter the percentage sign in the character set name to specify the font size according to IBM font naming standard. The font size is derived from the character in the position of the percentage sign, according to the following rules:
1 = 1.0, 2 = 2.0, 3 = 3.0, …, 9 = 9.0, 0 = 10.0, A = 11.0, B = 12.0, C = 13.0 ...
Note:
Example 6
In this example C?H500%0 matches, for example, C1H500B0. The font size is derived from the B and set to 12.
//Charset mapping
C?H500%0      CHARSET       Arial      Bold,Italic
C?H300%0      CHARSET       Arial      Italic
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26