THPDFPage.SetEmbeddedGlyphFont Method

Version 2.1102.0 adds ordinary native CFF2 text and portable CFF1 font embedding. Registered names select the frozen font bytes directly; cmap and hmtx supply glyphs and metrics, with per-font BMP/SMP mappings and a CIDFontType0C stream retaining all original glyph slots

Selects validated caller-owned font bytes without installing or resolving the face through GDI

Declaration

function SetEmbeddedGlyphFont(
  const FontIdentity: AnsiString;
  const FontData: TBytes;
  FontCollectionIndex: Integer;
  ASize: Single): boolean;

Parameters

Behavior

Related APIs

THPDFPage.GetEmbeddedGlyphID · THPDFPage.DrawEmbeddedGlyphRun