summaryrefslogtreecommitdiff
path: root/docs/index.html
blob: 62f9c80842f023f884f8c8e6eb4b92e69f543129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!DOCTYPE HTML>
<html lang="en" prefix="og: http://ogp.me/ns#">
  <head>
    <meta charset="utf-8">
    <title>Interface font family</title>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta property="og:title" content="Interface font family">
    <meta property="twitter:title" content="Interface font family">
    <meta property="description" content="Interface is a new typeface optimized for high legibility on computer screens">
    <meta property="og:description" content="Interface is a new typeface optimized for high legibility on computer screens">
    <meta property="twitter:description" content="Interface is a new typeface optimized for high legibility on computer screens">
    <meta property="twitter:card" content="summary">
    <meta property="twitter:site" content="@rsms">
    <meta property="twitter:creator" content="@rsms">
    <meta property="og:image" content="https://rsms.me/interface/res/poster.png">
    <meta property="twitter:image" content="https://rsms.me/interface/res/poster.png">

    <meta property="fb:app_id" content="38027689216">
    <meta property="og:url" content="https://rsms.me/interface/">
    <meta property="og:site_name" content="rsms.me">
    <meta property="og:type" content="product">
    <meta property="og:locale" content="en_US" />

    <link rel="icon" type="image/png" href="favicon.ico" />

    <link href="interface.css" rel="stylesheet">
    <style type="text/css">

* { margin:0; padding:0; }
html { }
body {
  background-color: #f4f4f4;
  color: #414141;
  font: 16px/22px Interface, sans-serif;
  letter-spacing: -0.1px;
  font-weight: 400;
  padding-bottom: 30px;
}

a {
  color: inherit;
  text-decoration: underline;
  word-break: break-word;
  word-wrap: break-word;
}
a:hover {
  color: rgb(48, 112, 232);
}
a.plain, a.fat {
  /* !important needed for qualification over @media further down */
  background: none !important;
  text-shadow: none !important;
  text-decoration: none;
}
a.fat {
  font-weight:500;
}
p {
  margin: 20px 0;
}
code, pre {
  font-family: "SFMono-Regular", Menlo, Consolas, Inconsolata, monospace;
  font-size:0.96em;
}
code {
  display: block;
  border-radius:1px;
  padding: 0.5em 0;
  overflow: auto;
}
pre {
  display: inline;
  white-space: pre-wrap;
}
dem { /* de-emphasize */
  font-weight: 400;
  opacity: 0.7;
}

h1, h2, h3 {
  font-weight: 500;
}
h1 {
  color: #333;
  font-size: 38px;
  letter-spacing: -1.3px;
  line-height: 40px;
  text-indent: -2px;
  margin-bottom: 30px;
  margin-top: 10px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.4px;
  line-height: 30px;
  margin-bottom: 25px;
  margin-top: 10px;
}

h1 > a, h2 > a, h3 > a {
  color: inherit;
  text-decoration: none;
  text-shadow: none;
  background: none !important;
}

.row {
  padding: 50px;
  /*background: salmon;*/
  display: flex;
  justify-content: center;
  /*background: white;*/
}
.row > * {
  width:100%;
  max-width: 888px;
  flex: 1 0 100%;
  /*background: white;*/
}

/* small screens */
@media only screen and (max-device-width: 736px) {
  .row {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.row.white {
  background: white;
}

.row.dark {
  background: #2b2b2b;
  color: #99999b;
}
.row.dark a:hover {
  color: rgb(164, 188, 255);
}
.row.dark h2, .row.dark h2 > a {
  color: #ccc;
  background: none;
}

/*
  Medium.com-style link underline for high-density displays.
  Currently only enabled on Mac as the lines don't render correctly on
  Windows (even in Chrome) for some reason.
*/
@media (-webkit-min-device-pixel-ratio: 1.5) {
  a {
    text-decoration: none;
    background-image:
      linear-gradient(to bottom,
        rgba(0,0,0,.6) 50%,
        rgba(0,0,0,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px .1em;
    background-position: 0 1.15em;
    text-shadow:
      /* creates "openings" for descenders in the underline */
      -1px -1px 0 #f4f4f4,
      1px -1px 0  #f4f4f4,
      -1px 1px 0  #f4f4f4,
      1px 1px 0   #f4f4f4;
  }
  body.mac_or_ios a {
    /* line height calculated differently on mac c/t windows */
    background-position: 0 1.045em;
  }
  a:hover {
    background-image:
      linear-gradient(to bottom,
        rgba(48, 112, 232, 1) 50%,
        rgba(48, 112, 232, 0) 50%);
  }
  .row.white a {
    text-shadow:
      -1px -1px 0 white,
      1px -1px 0  white,
      -1px 1px 0  white,
      1px 1px 0   white;
  }
  .row.dark a {
    background-image:
      linear-gradient(to bottom,
        rgba(255,255,255,.3) 50%,
        rgba(255,255,255,0) 50%);
    text-shadow:
      -1px -1px 0 #2b2b2b,
      1px -1px 0  #2b2b2b,
      -1px 1px 0  #2b2b2b,
      1px 1px 0   #2b2b2b;
  }
  .row.dark a:hover {
    background-image:
      linear-gradient(to bottom,
        rgba(164, 188, 255, 1) 50%,
        rgba(164, 188, 255, 0) 50%);
  }
}

.row ::selection {
  background: rgb(48, 112, 232);
  color: white;
  text-shadow: none;
}
.row ::-moz-selection {
  background: rgb(48, 112, 232);
  color: white;
  text-shadow: none;
}

.row.dark ::selection {
  background: rgb(218, 228, 255);
  color: black;
}
.row.dark ::-moz-selection {
  background: rgb(164, 188, 255);
  color: black;
}

a > img {
  display: block;
}

#repertoire-image {
  display:block;
  width:100%;
  height:40vw;
  background-image: url(res/repertoire.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
  background-color: #f4f4f4;
}


/* FAQ */
ul.faq {
  list-style:none;
  display: flex;
  flex-direction: column;
}
ul.faq > li {
  padding-right: 6px;
  margin-bottom: 6px;
  padding-left: 1.5em;
  text-indent: -1.5em;
}
ul.faq > li > a {
  display: inline;
}
ul.faq > li:target {
  background: #fafa88;
}
li.q {
  font-weight: 500;
  margin-top:1.5em;
}
ul > li.q:first-child, ul > li.q:not([id]) {
  margin-top:0;
}
li.q:before {
  content: "Q  "; /* contains NO-BREAK SPACE */
  opacity: 0.6;
}
li.a:before {
  content: "A  "; /* contains NO-BREAK SPACE */
  opacity: 0.6;
}

    </style>
  </head>
  <body>
    <script>
      if (!window.MSStream &&
          /mac|ipad|iphone|ipod/i.test(navigator.userAgent))
      {
        document.body.classList = 'mac_or_ios'
      }
    </script>

    <div class="row"><div>
      <h1>The Interface font family</h1>
      <p>
      Interface is a font for highly legible text on computer screens.<br>
      <a class="fat" href="https://github.com/rsms/interface/releases/latest/">Download the latest release</a>
      or try it out in the <a href="lab/" class="fat">playground</a>
      </p>
    </div></div>

    <div class="row white" style="padding-bottom:0"><div>
      <h2><a id="sample" href="#sample">Sample</a></h2>
      <p style="margin-bottom:0">
        <a href="https://www.figma.com/file/WmU5NWr52bnUcqv5os0V4sWi/Interface-samples" class="plain"><img src="res/sample.png" style="width:100%;display:block"></a>
      </p>
    </div></div>

    <div class="row dark"><div>
      <h2><a id="free" href="#free">How much does it cost?</a></h2>
      <p>
        Interface is a <a href="https://github.com/rsms/interface">free and open source</a> font family. You are free to use this font in almost any way imaginable.
        Refer to the <a href="https://choosealicense.com/licenses/ofl-1.1/">SIL Open Font License 1.1</a> for exact details on what the conditions and restrictions are.
      </p>

      <p>&nbsp;</p>

      <h2><a id="usage" href="#usage">How do I use it?</a></h2>
      <p>
        Using the font is as easy as
        <a href="https://github.com/rsms/interface/releases/latest/">download &amp; installing</a> locally on your computer.
      </p>
      <p>
        You're free to bundle copies of Interface with your software, even if it's
        commercial and you charge money for your software. Interface can also be used
        on the web by either hosting the font files yourself or by including this CSS:
      </p>
      <code>@import url('https://rsms.me/interface/interface.css');</code>
      <p>Use the following CSS rules to specify the Interface family:</p>
      <code>font-family: Interface, sans-serif;</code>
    </div></div>

    <div class="row"><div>
      <h2><a id="story" href="#story">The story behind Interface</a></h2>
      <p>
      Interface started out in late 2016 as an experiment to build a perfectly
      pixel–fitting font at a specific small size (11px.) The idea was that
      by crafting a font in a particular way, with a particular coordinate system
      (Units Per EM), and for a particular target rasterization size (11), it would
      be possible to get the best of both sharpness and readability.
      </p>
      <p>
      However after a few months of using an early version of Interface, it dawned
      on everyone exposed to the test that this approach had some serious real–world
      problems. Most notably that it was really hard to read longer text. Because of
      the pixel–aligning nature of that approach, the font took an almost
      <a href="https://www.figma.com/file/HPqDViSCB8fAWuxaV2ousFMv">mono–spaced appearance</a>,
      making it really easy to read numbers, punctuation and very short
      words, but eye–straining to read anything longer.
      </p>
      <p>
      The project was rebooted with a different approach, sticking with the
      specific UPM, but crafting glyphs and kerning in a way that made for
      more variation in the rhythm and smoother vertical and horizontal stems.
      As Interface was being developed, it was tested on an internal version of
      <a href="https://www.figma.com/">Figma</a>—where the author of Interface works as a designer—and slowly improved upon based on experience and feedback.
      </p>

      <p>&nbsp;</p>

      <h2><a id="status" href="#status">Current status &amp; usability</a></h2>
      <p>
      Interface works great for English–language text, and pretty well for other
      Latin and Cyrillic languages. There's still a lot of work to be done, and
      <a href="https://github.com/rsms/interface/blob/master/CONTRIBUTING.md">contributions are warmly welcomed</a>. The playground contains <a href="lab/?sample=Body%20text%201&size=16">a lot of samples</a>, including some common <a href="lab/?sample=Kerning%20body%20multi-lang&size=16">non English–language words in the playground.</a>
      </p>

      <p>
      <a href="lab/?sample=Repertoire&size=42" id="repertoire-image"></a>
      </p>
      <p>
      Please refer to the <a href="lab/?sample=Repertoire&size=42">glyph repertoire</a>
      for an overview of currently–available glyphs and their quality.
      </p>

      <p>&nbsp;</p>

      <h2><a id="faq" href="#faq">FAQ</a></h2>
      <ul class="faq">

        <li class="q" id="faq-roboto-similar">
          Some glyphs looks just like Roboto, is this typeface based on Roboto?
        </li>
        <li class="a">
          Since this font is very <em>similar to Roboto</em>, glyph
          outlines from Roboto are indeed being used, mainly as "placeholders"
          while the glyph set is expanded. The Roboto license can be found in the
          source directory.
        </li>

        <li class="q" id="faq-naming">
          There's another font family with a similar name (InterFace).
          How do I make sure I'm talking about the right font?
        </li>
        <li class="a">
          The world is a small place and just like all the
          <a href="https://en.wikipedia.org/wiki/Eric_Erickson">Eric Ericksons</a>,
          name alone somtimes does not suffice for unambiguous identity.
          The best way to be clear about what font you are talking about is to
          use the URL of this page (<pre>rsms.me/interface</pre>) when telling
          people about it.
          <a href="https://figma.com/">Design tools</a> and other software uses
          <a href="https://www.microsoft.com/typography/otspec/name.htm#nameIDs">a set of information embedded into every font</a> for identity, so names are only
          important for humans, not computers, and so you need not to worry about
          "conflicts." At least not with well-behaved software.
        </li>

        <li class="q" id="faq-contribute">
          Can I help with improving Interface?
        </li>
        <li class="a">
          Yes you can! Interface is an open–source project, meaning the source
          code—or "source design" if you will—that is used to build the font files
          <a href="https://github.com/rsms/interface">are freely available</a> to improve upon.
          Font making requires a fair bit of technical work and
          depending on what you'd like to do, some things might be more fun
          depending on your technical skills.
          The <a href="https://github.com/rsms/interface/blob/master/CONTRIBUTING.md">"Contributing" document</a> is a great place to start. The document outlines where
          you can have the biggest impact, how things are setup and how to get
          started.
        </li>

        <li class="q" id="faq-start-date">
          This website claims work started in 2016, but the git repository's log says it started later?
        </li>
        <li class="a">
          Interface was developed in an a private, internal git repository
          starting in November 2016, prior to being published on August 22, 2017.
          Between November 2016 and August 2017, there were 2&#x2006;990&#x2006;150 line edits made across 247 versions.
          The reason the public github repository does not reflect this is the
          fact that the project was initially only internal at the company where
          the author works and had some sensitive information "checked in",
          like AWS server details and internal author identity in
          all commit messages. Maybe one day we can write an elaborate git
          filter-branch program and convert the filter the old repository to make
          it public, but what would be the point of that?&nbsp; :—)
        </li>

        <li class="q" id="faq-contact">
          I've made a cool thing that uses Interface, can I share it with you?
          &nbsp;<dem>or</dem>
        </li>
        <li class="q">
          I have a different question
        </li>
        <li class="a">
          Reach out on <a href="https://twitter.com/rsms">Twitter (@rsms)</a> or over <a href="mailto:rasmus@notion.se">email</a>
        </li>


      </ul>

      <script>
        var av = document.querySelectorAll('ul.faq > li.q'), a, i, e, id
        for (i = 0; i < av.length; ++i) {
          e = av[i]
          id = e.id
          if (id) {
            a = document.createElement('a')
            a.href = '#' + id
            a.className = 'plain'
            a.innerHTML = e.innerHTML
            e.innerText = ''
            e.appendChild(a)
          }
        }
      </script>

    </div></div>


    <div class="row"><div><a href="https://twitter.com/rsms" class="plain">@rsms</a>
    </div></div>

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-105091131-2', 'auto');
      ga('send', 'pageview');
    </script>
  </body>
</html>