AddTrueTypeSubsettedFont
Version history
This function was introduced in Quick PDF Library version 8.11.
Description
Adds a subsetted TrueType font to the document.
Syntax
Delphi
function TQuickPDF0815.AddTrueTypeSubsettedFont(FontName, SubsetChars: WideString;
Options: Integer): Integer;
ActiveX
Function QuickPDF0815.PDFLibrary::AddTrueTypeSubsettedFont(FontName As String,
SubsetChars As String, Options As Long) As Long
DLL
int QuickPDFAddTrueTypeSubsettedFont(int InstanceID, wchar_t * FontName,
wchar_t * SubsetChars, int Options)
Parameters
| FontName | The name of the TrueType font that must be subsetted. |
| SubsetChars | A string containing the characters that should be included in the font subset. |
| Options | Reserved for future use. Should be set to 0. |
Return values
| 0 | The subsetted font could not be added or the CharSet parameter was out of range |
| Non-zero | The ID of the font that was successfully added. This ID can be used with the SelectFont function to select the font |