@versatiles/style
    Preparing search index...

    Function fontScripts

    • The scripts of FONT_SCRIPTS a face has the glyphs for, in that order — for filtering a font picker by writing system. [] for a face that publishes no blocks.

      Coverage is read from the codeblocks the glyph server lists for the face in its font_families.json (see fetchFontFaces), by checking a few sample letters of each script. It is a hint for a font picker, not a guarantee: the blocks are coarse, and a server's list can be incomplete.

      npm only. Not exported by the browser bundle (versatiles-style.js) — see the versatiles-style.js module for what that carries.

      Parameters

      Returns string[]