SetPdfEmbedWindowsFonts

BOOL            SetPdfEmbedWindowsFonts (BlackIceDEVMODE* pDevMode, BOOL bEnable);

Description

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.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

BOOL bEnable                                             - Boolean value to set. 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.

Programming Notes

None

Code Example

None