This software utilizes CMap files to accurately process incoming text by converting CJK encodings to Unicode.
Thankfully, the CMap files are readily available in the packages below. After downloading and unpacking them, you'll need to install them properly. If you're using Windows, the CMap files will be detected automatically if you put them in the resource/cmap directory within the PDFlib installation directory. On other systems, you'll have to manually configure them by setting the searchpath at runtime using the command: p.set_parameter("SearchPath", "/path/to/resource/cmap").
Alternatively, you can set the PDFLIBRESOURCEFILE environment variable to point to a UPR configuration file that contains a suitable SearchPath definition. This can be a more convenient method for configuring access to the CJK CMap files, and you can learn more about it by checking out the PDFlib tutorial.
It's worth noting that PDFlib 6 doesn't require CMaps for CJK output because it has less functionality. However, if you're using PDFlib 7 and need to work with CJK text, the PDFlib CMap package is a great tool to have at your disposal.
Version 1.0: N/A