EmbedFontProgram

Текст, шрифти

Опис

Resolves the font name against installed system fonts and embeds the TrueType/OpenType font program into the PDF document.

Синтаксис

Delphi

Function TPDFlib.EmbedFontProgram(Const FontName: WideString): Integer;

Параметри

FontNameThe name of the font to embed (e.g., 'Arial').

Return values

0The font program could not be embedded
Non-zeroThe ID of the font or success indicator