allo README

项目的 README,来自 github.com/joshpuckett/allo。合并为一个 markdown 文件:README.md。

Allo

Allo is your friendly neighborhood typeface. It’s variable in weight and roundness, with proportions and curves designed to feel warm without being too cute and clear without being too cold. It’s a perfect companion out of the box, and three variable axes and plenty of alternates let you tune its personality to exactly what you need.

Allo is optimized for screens and interfaces, with an optical size that adjusts automatically between text and display. And it’s packed with big little details: tabular figures, fractions, punctuation that lifts beside capitals, arrows that appear when you type them, a host of alternates and symbols, as well as a true oblique in every weight.

Type specimen at allo.joshpuckett.me →


Allo: the typeface, and its character set Allo: OpenType features, and interface icons and symbols

Download

Get Allo-1.0.2.zip from the latest release:

Folder Contents
fonts/otf 18 static fonts, Thin to Black, each with an Oblique
fonts/variable AlloVariable.ttf: all optical sizes, weights and roundnesses
fonts/webfonts The same fonts as WOFF2, plus AlloVariableFriendly.woff2 (roundness fixed at 50, about half the size)

The static and variable fonts are separate families, Allo and Allo Variable, so both can be installed.

Web

From npm:

npm install allo-font
import "allo-font";            // the full variable font, and the obliques
// import "allo-font/friendly"; // or: roundness fixed at 50, about half the size
body {
  font-family: "Allo", system-ui, sans-serif;
}

Or host the files yourself, from fonts/webfonts:

@font-face {
  font-family: "Allo";
  src: url("AlloVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Allo", system-ui, sans-serif;
}

Axes

Axis Tag Range Default Named values
Optical size opsz 9–32 14 9 Small, 14 Text, 32 Display
Weight wght 100–900 400 Thin 100 to Black 900
Roundness ROND 0–100 50 0 Sharp, 50 Friendly, 100 Round

Display (32) is tighter, with stronger optical corrections. Below 14 only the spacing changes. The static fonts are the variable font at opsz 14, ROND 50.

OpenType features

Feature Effect
ss01 Single-story a ɑ-shaped a
ss02 Disambiguation Serifed I, tailed l, footed 1, slashed zero
ss03 Open figures Open 4, 6 and 9
cv01–cv04 Footed 1, slashed zero, tailed l, serifed I, separately
cv05 Dotted zero
tnum Tabular figures
zero Slashed zero
frac Fractions: 1/2 → ½
sups, subs, numr, dnom Superscript, subscript, numerator, denominator
case Punctuation and symbols raised for capitals
liga tt, ff, tf, ft with a shared crossbar
calt -> → →; brackets, signs, ¿ and ¡ raised beside capitals and figures

Browsers turn ligatures off when letter-spacing is set. For code, use font-variant-ligatures: no-contextual.

Build

Python 3.9 or newer:

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python build.py

Writes fonts/ (variable TTF and WOFF2; 18 static OTFs and WOFF2s, autohinted with AFDKO), fonts/SHA256SUMS and Allo-1.0.2.zip. Dependencies are pinned and release.json fixes the timestamp, so builds are reproducible.

Sources

sources/Allo.designspace (designspace 5, UFO) has 48 masters: opsz 9, 14, 20, 32 × wght 100, 400, 580, 900 × ROND 0, 50, 100, plus eight sparse layers at ROND 10 and 30 for heavy joins. The opsz 9 masters are the opsz 14 masters with wider spacing (release.json "smallShift"). Corners are rounded in the outlines; the build compiles the sources as they are. Keep points compatible across masters.

sources/static holds the 18 static fonts' sources: cut from the variable masters at opsz 14, ROND 50, then edited separately. The obliques are separate drawings, not a slant axis.

Contributing

Found a problem, or missing a character? Please open an issue; a screenshot and the text you typed help a lot.

Pull requests that change the masters or the font files aren't accepted for now. Every change to a letter gets reviewed by eye across all the weights and axes, and that's hard to do well for work that arrives from outside. If you have a larger idea, such as a new script, open an issue first so we can talk about it.

You're free to modify Allo and ship your own version under the license.

License

SIL Open Font License 1.1: free to use, modify and redistribute, including commercially. The fonts can't be sold by themselves.

Credit

Allo began from Inter 4.2, which provided an incredible base to work from. Every one of Allo's glyphs has been redrawn, with extensive work on spacing, kerning, features and axes, all tuned for the friendly character that makes Allo its own. I owe a huge debt of gratitude to my friend Rasmus Andersson for creating Inter and releasing it under an open license; without it, Allo would not exist.

Allo also pays homage to Honk Sans by Seb McLauchlan and aims to bring some of that same warmth and fun to everyone.

allo (joshpuckett/allo)

正在搜索数据库…

869 ·GitHub
这是什么?Allo 是一款免费开源的字体:它是可变字体,字重和圆润度都可以调节,专为屏幕和界面设计,每个字重都提供真正的斜体版本。
这是字体还是代码库?这是一个字体家族,提供 TTF、OTF 和 WOFF2 格式的文件,不是代码库。在网页中使用需要通过 CSS,npm 包中包含 CSS 和斜体文件。
我该如何获取它?从最新发布页下载 Allo-1.0.1.zip。压缩包中包含 fonts/otf(18 个静态字体,从 Thin 到 Black,每个都带有 Oblique 斜体)、fonts/variable(AlloVariable.ttf)以及 fonts/webfonts(WOFF2 文件)。静态字体和可变字体分别命名为 Allo 和 Allo Variable,因此两者可以同时安装。
使用它需要安装 Python 吗?不需要。只有在从源文件重新构建字体时才需要 Python 3.9 或更高版本;发布的压缩包中已经包含构建好的字体。
连字或较小的网页字体有什么需要注意的地方吗?设置了字间距(letter-spacing)时,浏览器会关闭连字。用于代码时,请使用 font-variant-ligatures: no-contextual。较小的 AlloVariableFriendly.woff2 圆润度固定为 50,因此 'ROND' 对它无效。
可以用于商业用途吗?可以。本字体采用 SIL Open Font License 1.1 许可协议:可以免费使用、修改和再分发,包括用于商业用途,但不能单独出售这些字体。
Allo 与其他字体有什么不同?它有三个可变轴(光学尺寸、字重和圆润度),还提供许多替代字形,例如单层结构的 a、带点的零、等宽数字,以及输入时自动显示的箭头。
它会随字号变化吗?会。光学尺寸会在 Small(9)、Text(14)和 Display(32)之间自动调整。Display 字间距更紧凑,光学修正更明显;小于 14 时,只有字间距会变化。
哪些 OpenType 特性值得先试试?可以先试试 tnum 设置等宽数字,frac 将 1/2 转换为分数,case 让标点在大写字母旁边抬高,calt 把 -> 转换为箭头。
Allo 的背后有什么故事?它源自 Inter 4.2,每个字形都经过重新绘制,并对字距、字距调整、特性和轴进行了大量工作。作者感谢 Rasmus Andersson 的 Inter,并向 Honk Sans 致敬。
大小
26.4 MB
星标
869
时长
3天
提交 · 90 天