API referenceFonts

pdfCreateAltFontList

Allocate a new named alternate-font list, returning a handle.

CategoryAlternate font substitution (dead mechanism)
Notebut part of a inactive subsystem — see the chapter note

Purpose — Allocate a new named alternate-font list, returning a handle.

Declarations

C
int32_t __stdcall pdfCreateAltFontList(PPDF IPDF);
Delphi
function pdfCreateAltFontList(const IPDF: PPDF): Integer; stdcall; external 'LumasPdf.dll';

Return value — 1-based list handle.

Remarks — This list-handle mechanism (this call plus pdfActivateAltFontList and pdfDeleteAltFontList) is never consulted by font resolution — see the chapter-level finding. Use plain pdfSetAltFontsW instead for working alt-font substitution.

See alsopdfSetAltFonts

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfCreateAltFontList(IntPtr IPDF);
Area
Fonts
Category

Object Creation

Exported names

pdfCreateAltFontList

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.