v0.1.0-alpha.3
Pre-release
Pre-release
Alpha.3 — custom fonts and authoring tools.
Highlights:
- Custom fonts are now live. Pass raw TTF/OTF bytes through the
fontsoption and reference each face from CSS by its intrinsic embedded family name. - Font rendering stays deterministic: no host/system font lookup, no network or filesystem fetches from document content, and unreferenced custom faces leave output unchanged.
- Invalid font inputs now fail explicitly: non-
Uint8Arrayentries reject withVelloraInputError, and unparseable font bytes reject with a locatedfont:invaliddiagnostic. @vellora/lintnow exposes the publicdiagnose()/fix()API for dev-time template checks and deterministic codemods.@vellora/clinow includesvellora render,vellora lint, andvellora fix, including JSON lint output andfix --write.
Breaking alpha change:
- The
fontsoption was previously accepted but inert. It is now active and validates entries asUint8Array[]font bytes.
Install:
npm install vellora
npm install -g @vellora/cli