Table of Contents

TTMSFNCPDFLibFontCacheItem Class

Caches a web font file (loaded from a URL or a Blob) for use by the PDF engine in a WebAssembly/browser context.

API unit family: TMSFNCPDFLib

Syntax

TTMSFNCPDFLibFontCacheItem = class

Properties

Name Description
Blob JavaScript Blob object supplied as an alternative to a URL for loading the font file.
Data The loaded font file data accessible to the PDF engine after loading completes.
Loaded When True, the font file has been fully loaded and is available to the PDF engine.
URL URL from which the font file is loaded.

Methods

Name Description
Load Begins asynchronous loading of the font file from URL or Blob; sets Loaded to True when complete.