| 1 |
--- |
| 2 |
layout: default |
| 3 |
title: Download Inter |
| 4 |
--- |
| 5 |
{% include defs.html -%} |
| 6 |
|
| 7 |
<div class="row"><div><r-grid columns=8> |
| 8 |
|
| 9 |
|
| 10 |
<r-cell span=row> |
| 11 |
<h1>Downloading Inter version {{ release_version }}…</h1> |
| 12 |
<p> |
| 13 |
<a href="{{download_url}}" class=dim>{{download_url}}</a> |
| 14 |
</p> |
| 15 |
</r-cell> |
| 16 |
|
| 17 |
|
| 18 |
<r-cell span=row> |
| 19 |
<p class=large> |
| 20 |
Inter is <a href="https://github.com/rsms/inter">open source</a>.<br> |
| 21 |
Please consider giving us a small donation to keep this project alive. |
| 22 |
</p> |
| 23 |
<div class=sponsor-buttons> |
| 24 |
<a class=button |
| 25 |
title="Help Inter by becoming a sponsor and donating a coffee or two" |
| 26 |
href="https://github.com/sponsors/rsms"> |
| 27 |
Support Inter on GitHub... |
| 28 |
</a> |
| 29 |
<form action="https://www.paypal.com/donate" method="post" target="_top"> |
| 30 |
<input type="hidden" name="business" value="[email protected]"> |
| 31 |
<input type="hidden" name="no_recurring" value="0"> |
| 32 |
<input type="hidden" name="item_name" value="Inter typeface"> |
| 33 |
<!-- <input type="hidden" name="item_number" value="Fall Cleanup Campaign"> --> |
| 34 |
<input type="hidden" name="currency_code" value="USD"> |
| 35 |
<input class=button type="submit" name="submit" value="or, make a donation via PayPal..."> |
| 36 |
</form> |
| 37 |
</div> |
| 38 |
|
| 39 |
</r-cell> |
| 40 |
|
| 41 |
|
| 42 |
<br> |
| 43 |
<br> |
| 44 |
<br> |
| 45 |
|
| 46 |
|
| 47 |
<r-cell span=1-4 span-s=row> |
| 48 |
<h2>Installation instructions</h2> |
| 49 |
|
| 50 |
<p> |
| 51 |
Show instructions for |
| 52 |
<select id="install-menu"> |
| 53 |
<option value="mac">macOS</option> |
| 54 |
<option value="windows">Windows</option> |
| 55 |
<option value="ubuntu">Ubuntu Linux</option> |
| 56 |
</select> |
| 57 |
</p> |
| 58 |
|
| 59 |
<div id="install-mac" class="install-instructions active"> |
| 60 |
<ol> |
| 61 |
<li>Open the "Font Book" application.</li> |
| 62 |
<li>In the main menu, select "File" → "Add Fonts..."</li> |
| 63 |
<li>Select "Inter.ttc", "InterVariable.ttf" and "InterVariable-Italic.ttf"</li> |
| 64 |
<li>Press the "Open" button</li> |
| 65 |
</ol> |
| 66 |
<p> |
| 67 |
Alternatively, if you prefer not to use Font Book, you can move or |
| 68 |
copy the font files directly into <code>~/Library/Fonts/</code> |
| 69 |
</p> |
| 70 |
</div> |
| 71 |
|
| 72 |
<div id="install-windows" class="install-instructions"> |
| 73 |
<ol> |
| 74 |
<li>Open the zip file you downloaded</li> |
| 75 |
<li>Select "Inter.ttc", "InterVariable.ttf" and "InterVariable-Italic.ttf"</li> |
| 76 |
<li>Right-click the selected files, choose "Install for all users"</li> |
| 77 |
</ol> |
| 78 |
<p> |
| 79 |
If you have a previous installation of Inter, you should make sure |
| 80 |
to remove those fonts files before installing new ones. You need to |
| 81 |
install the font for all users, as some software requires fonts to |
| 82 |
be global. |
| 83 |
</p> |
| 84 |
</div> |
| 85 |
|
| 86 |
<div id="install-ubuntu" class="install-instructions"> |
| 87 |
<ol> |
| 88 |
<li>Create a ".fonts" directory in your home. (<code>mkdir -p ~/.fonts</code>)</li> |
| 89 |
<li>Copy "Inter.ttc", "InterVariable.ttf" and |
| 90 |
"InterVariable-Italic.ttf" into your .fonts directory |
| 91 |
(<code>cp Inter.ttc *.ttf ~/.fonts/</code>) |
| 92 |
</li> |
| 93 |
</ol> |
| 94 |
<p> |
| 95 |
You may have to restart apps and/or your window server session. |
| 96 |
</p> |
| 97 |
<h4>Ubuntu Linux Q&A</h4> |
| 98 |
<p> |
| 99 |
Q: I installed the fonts but they don't show up<br> |
| 100 |
A: Try rebuilding the font database:<br> |
| 101 |
<tt>sudo fc-cache -f -v</tt><br> |
| 102 |
Then restart your program(s). |
| 103 |
</p> |
| 104 |
<p> |
| 105 |
Q: Is there a way to tell if Inter was actually installed?<br> |
| 106 |
A: Try running: <tt>fc-list | grep "Inter"</tt> |
| 107 |
</p> |
| 108 |
<p> |
| 109 |
Q: <tt>~/.fonts</tt> is an old thing. |
| 110 |
The new thing is <tt>~/.local/share/fonts</tt><br> |
| 111 |
A: Yes, that is true for recent distributions. |
| 112 |
These distros usually support |
| 113 |
<tt>~/.fonts</tt> as well making these instructions work for everyone. |
| 114 |
</p> |
| 115 |
</div> |
| 116 |
|
| 117 |
<h4>Variable & Static font files</h4> |
| 118 |
|
| 119 |
<p> |
| 120 |
Inter fonts comes in two flavors: Variable and Static |
| 121 |
(<code>InterVariable*.ttf</code> and <code>Inter.ttc</code>, respectively.) |
| 122 |
</p><p> |
| 123 |
Variable fonts is a new format which allows you to choose any |
| 124 |
weight and optical size. Variable fonts is a relatively new |
| 125 |
technology and may not yet be supported by all your software. |
| 126 |
Inter's variable font is called "Inter Variable" to avoid |
| 127 |
confusion and to allow use alongside the traditional static fonts. |
| 128 |
</p><p> |
| 129 |
Static fonts works with older software and uses a fixed set of |
| 130 |
predefined mixtures of weight and optical size. For example |
| 131 |
"Inter Display Medium" is Inter with maximum optical size and a |
| 132 |
weight of 500. |
| 133 |
</p> |
| 134 |
|
| 135 |
</r-cell> |
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
<r-cell span=5-8 span-s=row> |
| 140 |
<h2>Web use</h2> |
| 141 |
<p> |
| 142 |
If you're making a web page, you can use the following HTML and CSS: |
| 143 |
</p> |
| 144 |
<pre><!-- HTML in your document's head --> |
| 145 |
<link rel="preconnect" href="https://rsms.me/"> |
| 146 |
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"> |
| 147 |
|
| 148 |
/* CSS */ |
| 149 |
:root { |
| 150 |
font-family: Inter, sans-serif; |
| 151 |
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */ |
| 152 |
} |
| 153 |
@supports (font-variation-settings: normal) { |
| 154 |
:root { font-family: InterVariable, sans-serif; } |
| 155 |
}</pre> |
| 156 |
<p>Global <abbr title="Content Delivery Network">CDN</abbr> |
| 157 |
sponsored by <a href="https://cloudflare.com/">Cloudflare</a></p> |
| 158 |
</r-cell> |
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
</r-grid></div></div> |
| 163 |
|
| 164 |
|
| 165 |
<script type="text/javascript">(function(){ |
| 166 |
|
| 167 |
let activeInstructions = document.querySelector('.install-instructions.active') |
| 168 |
|
| 169 |
function activateInstructions(id) { |
| 170 |
activeInstructions.classList.remove("active") |
| 171 |
activeInstructions = document.querySelector('#install-' + id) |
| 172 |
activeInstructions.classList.add("active") |
| 173 |
} |
| 174 |
|
| 175 |
let installMenu = document.querySelector('#install-menu') |
| 176 |
installMenu.onchange = ev => { |
| 177 |
activateInstructions(installMenu.value) |
| 178 |
} |
| 179 |
|
| 180 |
if (/linux/i.test(navigator.userAgent)) { |
| 181 |
activateInstructions('ubuntu') |
| 182 |
} else if (/windows/i.test(navigator.userAgent)) { |
| 183 |
activateInstructions('windows') |
| 184 |
} else if (/mac os/i.test(navigator.userAgent)) { |
| 185 |
activateInstructions('mac') |
| 186 |
} |
| 187 |
|
| 188 |
})();</script> |
| 189 |
|
| 190 |
|
| 191 |
<style type="text/css"> |
| 192 |
|
| 193 |
div.row.download { |
| 194 |
font-weight: 460; |
| 195 |
} |
| 196 |
.dim { opacity:0.4; text-decoration: none } |
| 197 |
a.dim:hover { opacity:1 } |
| 198 |
|
| 199 |
.large { font-size: 1.375rem; } |
| 200 |
input.button { cursor: pointer } |
| 201 |
|
| 202 |
.sponsor-buttons { |
| 203 |
display: flex; |
| 204 |
align-items: flex-start; |
| 205 |
gap: 1rem; |
| 206 |
margin-bottom: var(--spacingv); |
| 207 |
font-size: 1.2rem; |
| 208 |
} |
| 209 |
@media only screen and (max-width: 720px) { |
| 210 |
.sponsor-buttons { |
| 211 |
font-size: 1.375rem; |
| 212 |
flex-direction: column; |
| 213 |
gap: 0rem; |
| 214 |
} |
| 215 |
} |
| 216 |
|
| 217 |
.install-instructions { display: none; } |
| 218 |
.install-instructions.active { display: block; } |
| 219 |
|
| 220 |
|
| 221 |
</style> |