HPDFBuildHeadlessTextFamilyAppearanceWithWorkspace

function HPDFBuildHeadlessTextFamilyAppearanceWithWorkspace(const Text: UnicodeString;
  const Families: THPDFHeadlessRichTextFontFamilies; FirstObjectNumber,MaximumObjects: Integer;
  const Options: THPDFHeadlessTextAppearanceOptions;
  Workspace: THPDFWorkspaceAdmission): THPDFHeadlessTextAppearance;

Declared in HPDFHeadlessAppearance

Builds a text appearance using the supplied font families and their existing fallback rules while carrying one admission owner through family planning, shaping and appearance construction

Borrowed admission

Workspace is a borrowed THPDFWorkspaceAdmission; keep it alive for the entire call and do not reset its cumulative ledger during a failed attempt or retry

Pass nil to retain the original call behavior without a borrowed workspace; the original function signature remains available

Admission occurs before the implemented allocations or generated identities; bounded copy and operation checkpoints can also call Reserve(0)

An exception raised by the owner remains the operation failure; cleanup must remain possible after cancellation and must not replace that exception

The caller owns the returned THPDFHeadlessTextAppearance; completed output streams detach from the generation owner before returning, so reading or freeing the result does not require the owner to remain alive

Writing to returned streams after generation is outside this generation-admission contract; the caller remains responsible for such later mutations

See HPDFBuildHeadlessTextFamilyAppearance for the unchanged input and output contract

See workspace admission and native runtimes for ledger categories and lifetime boundaries