#include “BlackIceDEVMODE.h”
BOOL GetPdfEmbedCIDFontsOnly (BlackIceDEVMODE* pDevMode, BOOL* bEnable);
Description
Returns 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 - pointer to Boolean value to store 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