DL Logo

PDFontDownloadContext Typedefs

PDFontDownloadContext

Header: PDFLExpT.h:1794

Description

Maintains information about the current print job and what fonts have been downloaded.

Syntax

typedef struct _t_PDFontDownloadContext *PDFontDownloadContext;

Returned From

Used By

PDFontDownloadContext Functions

PDFontDownloadContextCreate

Header: PDFLProcs.h:267

Description

Creates a font download context object. This object keeps track of the fonts downloaded during a print job and whether substitution fonts have already been downloaded. It also tracks the font download parameters, such as binaryOK and 'emit TrueType as Type 42'. It is meant for use in the PDFontStreamPS() method.

Syntax

PDFontDownloadContext PDFontDownloadContextCreate(PDPrintClient client);

Parameters

client
The client record to pass to PDDocPrintPages().

Returns

The newly-created context.

PDFontDownloadContextDestroy

Header: PDFLProcs.h:276

Description

Destroys a font download context object. Call this method after PDDocPrintPages() returns.

Syntax

void PDFontDownloadContextDestroy(PDFontDownloadContext context);

Parameters

context
IN/OUT The context to destroy.