EmbedFontProgram
Text, Fonts
Description
Resolves the font name against installed system fonts and embeds the TrueType/OpenType font program into the PDF document.
Syntax
Delphi
Function TPDFlib.EmbedFontProgram(Const FontName: WideString): Integer;
Parameters
| FontName | The name of the font to embed (e.g., 'Arial'). |
|---|
Return values
| 0 | The font program could not be embedded |
|---|---|
| Non-zero | The ID of the font or success indicator |