Converting East Asian AFM Files to NTF Files
To process an East Asian font's .afm file, Makentf.exe (discussed in Converting AFM Files to NTF Files) requires .map and .ps files to create a mapping table from Unicode to CID (character ID) for the font.
The East Asian .afm file has the CID description and metrics for each glyph contained in the font. The .map file lists the Unicode codes and corresponding character codes for the font's character set. The .ps file contains a list of Unicode codes and the corresponding CIDs for the font's character set.
Starting with an East Asian .afm file, Makentf.exe determines the character set. Based on the character set, Makentf.exe finds the appropriate .map and .ps files. From the .map file, Makentf.exe lists the Unicode codes that can be used in the font. From the Unicode code list and the .ps file, Makentf.exe then creates a Unicode-to-CID mapping table for the font. Currently, the .afm file is used to verify that each CID (glyph) is actually contained in the font. If the CID is found in the .afm file, a mapping entry from the Unicode code to the CID is created in the mapping table. If the CID is not found, the mapping entry is not created.
The .map and .ps files needed to create an .ntf file for Chinese Simplified, Chinese Traditional, Japanese, and Korean are shown in the following lists. Place these files and your .afm files in the same directory.