@open-metric-fonts/onward
v1.1.0
Published
Open-source (OFL) font Onward: metric-compatible with Avenir Next LT Pro, Avenir Next LT Pro Demi, Avenir Next LT Pro Light. Same character widths, line breaks and page breaks.
Maintainers
Readme
@open-metric-fonts/onward
Onward: open-source (SIL Open Font License 1.1) fonts that are metric-compatible with Avenir Next LT Pro, Avenir Next LT Pro Demi, Avenir Next LT Pro Light. Every character has the original's width and the line spacing is the same, so text breaks into the same lines and pages. The letter shapes are not copies: each font is a modified version of an openly licensed font.
Part of open-metric-fonts. Desktop fonts (TTF), fontconfig and LibreOffice files are in the GitHub releases.
Install
npm install @open-metric-fonts/onwardimport "@open-metric-fonts/onward"; // every style
import "@open-metric-fonts/onward/onward-400.css"; // or one style
import "@open-metric-fonts/onward/full.css"; // or one complete file per stylebody { font-family: "Onward", sans-serif; }Each style is split by alphabet (Latin, Latin Extended, Greek, Cyrillic, Vietnamese, …) with unicode-range, so a browser downloads only the parts a page uses. full.css uses one complete file per style instead.
CDN (pinned version, with Subresource Integrity)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@open-metric-fonts/[email protected]/index.css"
integrity="sha384-MVrB2mfMauwVi1UKmtZ1L2w+HURt1LkAXhjCfi0LpWqny2YLzXnrouJZBs4NZToC" crossorigin="anonymous">npm versions cannot be changed once published, and the integrity hash makes the browser reject a stylesheet that differs from this release. Every CSS file's hash is listed in web.md.
Styles
| Family | Weight | Style | CSS file |
|---|---|---|---|
| Onward | 700 | normal | onward-700.css |
| Onward | 700 | italic | onward-700-italic.css |
| Onward | 600 | normal | onward-600.css |
| Onward | 600 | italic | onward-600-italic.css |
| Onward | 400 | italic | onward-400-italic.css |
| Onward | 300 | normal | onward-300.css |
| Onward | 300 | italic | onward-300-italic.css |
| Onward | 400 | normal | onward-400.css |
License
Fonts: SIL Open Font License 1.1 (see LICENSE); each font keeps its base font's copyright notice. Font names of the originals are trademarks of their owners and are used only to describe compatibility; this project is not affiliated with or endorsed by them.
