| Category | Alternate font substitution (dead mechanism) |
|---|---|
| Note | part of the dead mechanism |
Purpose — Mark a list as the "active" alternate-font list.
Declarations
C
BOOL32 __stdcall pdfActivateAltFontList(PPDF IPDF, int32_t Handle, BOOL32 EnableSysFonts);
Delphi
function pdfActivateAltFontList(const IPDF: PPDF; Handle: Integer; EnableSysFonts: LongBool): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
Handle | Integer | List handle to activate. |
EnableSysFonts | LongBool | Stored (FAltSysFonts); like FAltListActive, never read elsewhere. |
Return value — TRUE if Handle names a valid, non-deleted list; FALSE otherwise. Per the chapter note, activating a list has no effect on which fonts pdfSetFont actually substitutes.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Fonts
Category
Core
Exported names
pdfActivateAltFontList
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.