pdfSetUseSystemFonts
Nominally: enable/disable falling back to installed system
| Category | Font policy (non-functional) |
|---|---|
| Availability | Non-functional (write-only) — see the chapter note |
Purpose — Nominally: enable/disable falling back to installed system fonts.
Description — Stores the flag; pdfSetFont's chain always attempts a system-font match regardless of this setting.
Declarations
C
BOOL32 __stdcall pdfSetUseSystemFonts(PPDF IPDF, BOOL32 Value);
Delphi
function pdfSetUseSystemFonts(const IPDF: PPDF; Value: LongBool): LongBool; stdcall; external 'LumasPdf.dll';
Parameters
| Parameter | Type | Description |
|---|---|---|
IPDF | PPDF | Instance handle. |
Value | BOOL32 | Accepted 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
pdfSetUseSystemFonts
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.