[]previous and next page

FontSubset

One slice to make: a name for the file, and the unicode-range it covers.

One slice to make: a name for the file, and the unicode-range it covers.

Import#

ts
import type { FontSubset } from "@shadow-js/dusk/vite";

Signature#

ts
interface FontSubset {
  /** Letters, digits and dashes: it is part of the file's name. */
  readonly name: string;
  /** A CSS `unicode-range` value such as `U+0000-00FF, U+0131`. */
  readonly unicodeRange: string;
}

Members#

Name Type Description
name readonly name: string Letters, digits and dashes: it is part of the file's name.
unicodeRange readonly unicodeRange: string A CSS unicode-range value such as U+0000-00FF, U+0131.