API referenceFonts

pdfSetUseStdFonts

Nominally: enable/disable falling back to the standard-14

CategoryFont policy (non-functional)
AvailabilityNon-functional (write-only) — see the chapter note

Purpose — Nominally: enable/disable falling back to the standard-14 fonts.

Description — Stores the flag; pdfSetFont's resolution chain always attempts a standard-14 match first regardless of this setting's value.

Declarations

C
BOOL32 __stdcall pdfSetUseStdFonts(PPDF IPDF, BOOL32 Value);
Delphi
function pdfSetUseStdFonts(const IPDF: PPDF; Value: LongBool): LongBool; stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
ValueBOOL32Accepted and stored; has no effect on font resolution.

Return value — Always TRUE on a valid handle.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Fonts
Category

Setters

Exported names

pdfSetUseStdFonts

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.