Click or drag to resize

GetFontCallback Delegate

Get a handle to a particular font by its internal ID

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public delegate IntPtr GetFontCallback(
	FPDF_SYSFONTINFO pThis,
	string face
)

Parameters

pThis  FPDF_SYSFONTINFO
Pointer to the interface structure itself
face  String
Typeface name. Currently use system local encoding only.

Return Value

IntPtr
An opaque pointer for font handle.
Remarks
Required only if MapFont method is not implemented. If the system mapping not supported, Pdfium SDK will do the font mapping and use this method to get a font handle.
See Also