Skip to Content

@stesura/fonts

The editor’s font files: the 14 editor families (each a metric-compatible substitute for a Word font), the SpaceDot faces used while invisible characters are shown, and Noto Color Emoji. It has no code; StesuraEditor imports its stylesheet, @stesura/fonts/fonts.css, which references the .woff2 files by relative URL. See Getting Started for how they are served.

The font tables and font-family resolution (FONT_FAMILIES, findFontFamily, resolveDisplayFont, …) live in @stesura/core/constants.

The package is versioned on its own, not with the other @stesura/* packages: it changes only when a font file does.

Last updated on