UpdateTrueTypeSubsettedFontA

Text, Fonts

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to UpdateTrueTypeSubsettedFont and string arguments are interpreted using the current SetAnsiMode code page

Updates the selected font with a new subset

This can only be done if the font was originally created using AddTrueTypeSubsettedFont using Options 2, 3, 4 or 5

Syntax

Delphi

Function DLUpdateTrueTypeSubsettedFontA(InstanceID: Integer; SubsetChars: PAnsiChar): Integer;

DLL

int DLUpdateTrueTypeSubsettedFontA(int InstanceID, const char * SubsetChars);

Parameters

SubsetCharsThe new list of characters to include in the font subset in addition to the existing characters

Return values

0Could not update the font subset
1Success