API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeFontVariant

@codexo/exojs / rendering / stable

CSS font-variant-caps values the glyph rasterizer honours. `'small-caps'` renders lowercase letters as reduced capitals - from the family's own small-cap glyphs where it has them, otherwise from the browser's synthesis. The variant is part of a glyph atlas's identity, so small-cap glyphs never share cache entries with the ordinary ones.

0
props
0
methods
0
events
Import
import { FontVariant } from '@codexo/exojs'

CSS font-variant-caps values the glyph rasterizer honours.

`'small-caps'` renders lowercase letters as reduced capitals - from the family's own small-cap glyphs where it has them, otherwise from the browser's synthesis. The variant is part of a glyph atlas's identity, so small-cap glyphs never share cache entries with the ordinary ones.

Definition1
"normal" | "small-caps"
Source