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, и каждый глиф был перерисован с большой работой над межбуквенными расстояниями, кернингом, функциями и осями. Автор отмечает Inter Расмуса Андерссона и отдаёт дань уважения Honk Sans.
Какие есть похожие проекты?fonts, source-han-sans, Macintosh-Skeletal-Filled, maple-font, libron, plex, Iosevka, inter
Автор
joshpuckett
Размер
26.4 MB
Звёзды
869
Возраст
3 д
Коммиты · 90 дней