SetPdfEmbedCIDFontsOnly

Sets the state of the ‘Embed Identity encoded CID fonts only’ checkbox. This option changes what type of font encoding is used in the generated PDF documents.

 

SetPdfEmbedCIDFontsOnly (pDevMode As Long, bEnable As Boolean) As Boolean

 

Input value    - handle to the BlackIceDEVMODE.

                        - Boolean value to set the ‘Embed Identity encoded CID fonts only’ checkbox. One of the following values:

FALSE: The Printer Driver embeds fonts with ANSI encoding, and if the document contains Unicode characters or glyph indexes, the Printer Driver will also embed “Identity” encoded CID fonts. (default)

TRUE: The Printer Driver will only embed “Identity” encoded CID fonts. ANSI text is converted to a series of glyph indexes in the PDF. This option is useful when printing the PDF files with certain industrial printers that cannot handle multiple font objects that refer to the same physical font. Selecting this option may increase the size of the generated PDF documents.

 

Return value - TRUE on success, otherwise FALSE.