API referenceFonts

pdfSetFontSearchOrder

Nominally: set the base-type order the font search should

CategoryFont policy (non-functional)
AvailabilityNon-functional (write-only) — see pdfGetFontSearchOrder

Purpose — Nominally: set the base-type order the font search should try; the four entries are stored but not consulted by the resolution chain.

Declarations

C
void __stdcall pdfSetFontSearchOrder(PPDF IPDF, PFontBaseType Order);
Delphi
procedure pdfSetFontSearchOrder(const IPDF: PPDF; Order: PFontBaseType); stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
OrderPFontBaseTypeUp to 4 entries copied into FFontSearchOrder; stored, not consulted.

Return value — None (procedure).

See alsopdfSetFontSearchOrderEx

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern void pdfSetFontSearchOrder(IntPtr IPDF, IntPtr Order);
Area
Fonts
Category

Setters

Exported names

pdfSetFontSearchOrder

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.