Set Directory for basis fonts

Top  Previous  Next

Set the path to the directory where to find fonts, such as Courier.pfb

 

COMPDF_SETFONTFOLDER      = 136

 

This fonts used to be part of the Adobe Reader installation, they are property of Adobe.

 

If you have the license to distribute this fonts you can use the command 136 to specify the directory where the files are located. PDF files which use the fonts Courier, Times and Helvetica will be displayed a lot better since then mapping is not required anymore.

 

The command

 

COMPDF_SETCMAPFOLDER      = 137

 

can be used to select a folder where Adobe CMAP files are stored. The file Adobe-Japan1-UCS2 is required for certain Japanese PDF files.