No description
This repository has been archived on 2025-10-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Find a file
Rasmus Andersson 05bfd6acf8 Adjust side bearings of a lot of glyphs
This change slightly tightens up spacing of the regular weight.
Spacing of all weights are also improved and made more consistent.
Several glyphs har been reworked as well, mainly to work better with the
updated spacing.

a
a_uni02DE
ae
afii10044
afii10045
afii10046
afii10047
afii10058
afii10059
alpha
b
bbar
beta
d
dcroat
dotlessi
dotlessj
drthook
dyogh
dz
dzcurl
eta
eth
finalkaf
fitacyrillic
g
G
Gbar
gcursive
gecyrillic
germandbls
Germandbls
gheupturncyrillic
h
hcedilla
i
ibar
idieresisacute
iota
itildebelow
iucyrillic
j
jcrosstail
k
l
lbar
lbelt
lmidtilde
lslash
lyogh
m
mhook
n
nlfthook
nrthook
o
o_uni02DE
oe
ohorn
omegaroundcyrillic
oslash
p
phi
pi
q
r
rho
rrthook
rturnrthook
tau
theta
Theta
thorn
u
ubar
uhorn
uni0069.ccmp
uni006A_.ccmp
uni012F_.ccmp
uni0249
uni0249.ccmp
uni024D
uni0268.ccmp
uni029D_.ccmp
uni02AB
uni03F3_.ccmp
uni0456.ccmp
uni0458.ccmp
upsilon
w
yericyrillic
z
zbar
2017-09-29 09:05:18 -07:00
docs Update release 1.11 2017-09-25 10:49:23 -07:00
misc Remove unused anchor pairs from fontbuild 2017-09-25 10:38:09 -07:00
src Adjust side bearings of a lot of glyphs 2017-09-29 09:05:18 -07:00
.gitattributes Move away from using hinted fonts by default 2017-09-23 10:14:17 -07:00
.gitignore Speeds up font compilation by around 200% 2017-09-04 11:12:34 -04:00
CODE_OF_CONDUCT.md Adds code of conduct 2017-08-22 09:35:14 -07:00
CONTRIBUTING.md Add info about removing glyphs to CONTRIBUTING.md 2017-09-24 19:23:49 -07:00
init.sh Move away from using hinted fonts by default 2017-09-23 10:14:17 -07:00
LICENSE.txt Rename family from "Interface" to "Inter UI" 2017-09-18 15:58:34 -07:00
Makefile makefile 2017-09-25 10:49:37 -07:00
README.md Rename family from "Interface" to "Inter UI" 2017-09-18 15:58:34 -07:00
requirements.txt Speeds up font compilation by around 200% 2017-09-04 11:12:34 -04:00

Inter UI

Inter UI is a typeface specially designed for user interfaces.

Sample

⬇︎ Download the latest release

After downloading the zip from above:

  1. Double-click the downloaded zip file to unpack or open it.
  2. Follow the instructions in "install-mac.txt" or "install-win.txt", depending on what operating system you're using.

Design

Inter UI is similar to Roboto, San Francisco, Akkurat, Asap, Lucida Grande and other "UI" typefaces. Some trade-offs were made in order to make this typeface work really well at small sizes:

  • Currently not suitable for very large sizes because of some small-scale glyph optimizations (like "pits" and "traps") that help rasterization at small sizes but stand out and interfere at large sizes.
  • Rasterized at sizes below 12px, some stems—like the horizontal center of "E", "F", or vertical center of "m"—are drawn with two semi-opaque pixels instead of one solid. This is because we "prioritize" (optimize for) higher-density rasterizations. If we move these stems to an off-center position—so that they can be drawn sharply at e.g. 11px—text will be less legible at higher resolutions.

Current font styles:

  • Regular — master
    • Italic
  • Medium — derived from Regular and Black by mixing
    • MediumItalic
  • Bold — derived from Regular and Black by mixing
    • BoldItalic
  • Black — master
    • BlackItalic

Future versions may include lighter weights.

Font metrics

This font was originally designed to work at a specific size: 11px. Thus, the Units per EM (UPM) is defined in such a way that a power-of-two multiple of one EM unit ends up at an integer value compared to a pixel. Most fonts are designed with a UPM of either 1000 or 2048. Because of this we picked a value that is as high as possible but also as close as possible to one of those common values (since it's reasonable to assume that some layout engines and rasterizers are optimized for those value magnitudes.) We ended up picking a UPM of 2816 which equates to exactly 256 units per pixel when rasterized for size 11pt at 1x scale. This also means that when rasterized at power-of-two scales (like 2x and 4x) the number of EM units corresponding to a pixel is an integer (128 units for 2x, 64 for 4x, and so on.)

However, as the project progressed and the typeface was put into use, it quickly became clear that for anything longer than a short word, it was actually hard to read the almost monotonically-spaced letters.

A second major revision was create where the previously-strict rule of geometry being even multiples of 256 was relaxed and now the rule is "try to stick with 128x, if you can't, stick with 64x and if you can't do that either, never go below 16x." This means that Inter UI is now much more variable in pace than it used to be, making it work better at higher resolutions and work much better in longer text, but losing some contrast and sharpness at small sizes.

Metrics

The glyphs are designed based on this "plan"; most stems and lines will be positioned at EM units that are even multiples of 128, and in a few cases they are at even multiples of 64 or as low as 16.

Metrics:

  • UPM: 2816
  • Descender: -640
  • x-height: 1536
  • Cap height: 2048
  • Ascender: 2688

Translating between EM units and pixels:

  • Rasterized at 11px: 1px = 256 units
  • Rasterized at 22px: 1px = 128 units
  • Rasterized at 44px: 1px = 64 units

There's a Figma workspace for glyphs, with configured metrics: "Inter UI glyphs"

See also