TX Sheet Control

FontCatalog Interface

Interface

A versioned deployed-font snapshot shared by browser and server rendering.

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
familiesThe families value of FontCatalog.
revisionSHA-256 revision of the descriptors and discovery diagnostics.
versionThe version value of FontCatalog.
warningsThe warnings value of FontCatalog.

Examples

Pass the FontCatalog value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { FontCatalog } from '@txtextcontrol/tx-sheet-control-server';

function inspectFontCatalogVersion(fontCatalog: FontCatalog) {
    const value = fontCatalog['version'];
    console.log('FontCatalog.version', value);
}

See Also