API referenceFonts

pdfActivateAltFontList

Mark a list as the "active" alternate-font list.

CategoryAlternate font substitution (dead mechanism)
Notepart 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

ParameterTypeDescription
IPDFPPDFInstance handle.
HandleIntegerList handle to activate.
EnableSysFontsLongBoolStored (FAltSysFonts); like FAltListActive, never read elsewhere.

Return valueTRUE 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.