Debian Codegraph @

texmf-dist/doc/fonts/inter/README.md

raw
1 # Inter
2
3 Inter is a typeface specially designed for user interfaces
4 with focus on high legibility of small-to-medium sized text on computer screens.
5
6 The family features a tall x-height to aid in readability of mixed-case and
7 lower-case text. Several OpenType features are provided as well,
8 like contextual alternates that adjusts punctuation depending on the shape of
9 surrounding glyphs, slashed zero for when you need to disambiguate "0" from "o",
10 tabular numbers, etc.
11
12 [![Sample](docs/res/sample.png)](https://rsms.me/inter/samples/)
13
14 ### [⬇︎ Download the latest release](https://github.com/rsms/inter/releases/latest)
15
16 After downloading the zip from above:
17
18 1. Double-click the downloaded zip file to unpack or open it.
19 2. Follow the instructions in "install-mac.txt" or "install-win.txt", depending
20 on what operating system you're using.
21
22 Font files are also available from the following third-party distributors:
23
24 - [`inter-ui` on npm](https://www.npmjs.com/package/inter-ui)
25 - [`font-inter` in Homebrew's Fonts cask](https://github.com/Homebrew/homebrew-cask-fonts)
26 - See [Repology](https://repology.org/project/fonts:inter/versions) for a list of Linux distributions that include the font in their repositories.
27
28 **Disclaimer:** Third-party packages may not always be up-to-date.
29
30 ## Design
31
32 Inter is similar to Roboto, San Francisco, Akkurat, Asap, Lucida Grande and other "UI" and "Text" typefaces. Some trade-offs were made in order to make this typeface work really well at small sizes:
33
34 - 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.
35 - 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.
36
37 Current font styles:
38
39 | Name | Weight class
40 | -------------------- | ----------------
41 | Thin | 100
42 | Thin Italic | 100
43 | Extra Light | 200
44 | Extra Light Italic | 200
45 | Light | 300
46 | Light Italic | 300
47 | Regular | 400
48 | Italic | 400
49 | Medium | 500
50 | Medium Italic | 500
51 | Semi Bold | 600
52 | Semi Bold Italic | 600
53 | Bold | 700
54 | Bold Italic | 700
55 | Extra Bold | 800
56 | Extra Bold Italic | 800
57 | Black | 900
58 | Black Italic | 900
59
60 Inter also ships as a variable font.
61
62
63 ### Font metrics
64
65 This font was originally designed to work at a specific size: 11px. Thus, the Units per [EM](https://en.wikipedia.org/wiki/Em_(typography)) (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.)
66
67 However, as the project progressed and the typeface was put into use, it quickly
68 became clear that for anything longer than a short word, it was actually hard to
69 read the almost monotonically-spaced letters.
70
71 A second major revision was created 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 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.
72
73 ![Metrics](docs/res/metrics.png)
74
75 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.
76
77 Metrics:
78
79 - UPM: 2816
80 - Descender: -640
81 - x-height: 1536
82 - Cap height: 2048
83 - Ascender: 2688
84
85 Translating between EM units and pixels:
86
87 - Rasterized at 11px: 1px = 256 units
88 - Rasterized at 22px: 1px = 128 units
89 - Rasterized at 44px: 1px = 64 units
90
91 There's a Figma workspace for glyphs, with configured metrics: ["Inter glyphs"](https://www.figma.com/file/RtScFU5NETY3j9E0yOmnW4gv/)
92
93
94 ## Supporters
95
96 A wholehearted **Thank You** to everyone who supports the Inter project!
97
98 ### Donors
99
100 - @adrianmg
101 - @artemc
102 - @bapun26
103 - @brianlovin
104 - @chadlittle
105 - @colinkeany
106 - @danrowden
107 - @davo
108 - @emuravjev
109 - @gbougakov
110 - @jakejarvis
111 - @lukesbeard
112 - @lustfullyCake
113 - @mamuso
114 - @mbullington
115 - @muuvmuuv
116 - @NetOperatorWibby
117 - @pedromvpg
118 - @pmarsceill
119 - @romashamin
120 - @ruslangirichev
121 - @saishmenon
122 - @satyakresna
123 - @sorentwo
124 - @StandardResumeSponsors
125 - @stpnkcrk
126 - @taravancil
127 - @usmanity
128 - @zethussuen
129 - Stefan Kempf
130
131 _(Private donors excluded)_
132
133 ### Contributors
134
135 - @thundernixon
136 - @KatjaSchimmel
137 - @kdrag0n
138 - @gabrielizaias
139 - @fractaledmind
140 - @davelab6
141 - @Veratyr
142 - @Calinou
143
144
145 ## Development
146
147 For instructions on how to work with the source files and how to
148 [compile & build font files](CONTRIBUTING.md#compiling-font-files),
149 refer to [CONTRIBUTING.md](CONTRIBUTING.md).
150
151 Inter is licensed under the [SIL Open Font License](LICENSE.txt)