FONT_SUBSETS
The Unicode ranges of the usual scripts, the same slices Google Fonts serves, as unicode-range values.
The Unicode ranges of the usual scripts, the same slices Google Fonts serves, as unicode-range values. The keys name the
slices in SubsetFontsOptions.subsets.
Import#
ts
import { FONT_SUBSETS } from "@shadow-js/dusk/vite";
Signature#
ts
const FONT_SUBSETS: Readonly<Record<string, string>>
Examples#
ts
```ts
import { FONT_SUBSETS } from "@shadow-js/dusk/vite";
console.log(Object.keys(FONT_SUBSETS).includes("latin")); // true