API referenceFonts

pdfGetFontSearchOrder

Nominally: read the 4-slot font-source search order

CategoryFont policy (non-functional)

| Status | Non-functional — same dead-policy pattern as E04 |

Purpose — Nominally: read the 4-slot font-source search order (std14/system/embedded-fallback/alt-list, in whatever priority you set).

Description — Faithfully returns whatever was last stored via pdfSetFontSearchOrder/Ex. Confirmed by grep: FFontSearchOrder is never consulted by pdfSetFont's resolution chain, which always tries standard-14 → system TrueType → alt-font list → bundled fallback, in that fixed order, regardless of this setting.

Declarations

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

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
OrderPFontBaseTypeReceives 4 slots; writes nothing if Order is NULL.

Return value — None (procedure).

See alsopdfSetFontSearchOrder

C# (P/Invoke)

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

Getters

Exported names

pdfGetFontSearchOrder

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.