Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Are variable fonts the future of web typography?

Bram Stein
September 21, 2018

Are variable fonts the future of web typography?

You may have heard about variable fonts and how amazing they are (or not, in which case you should attend this talk!). But what exactly are variable fonts, and why are so many people excited about them? Is it because they offer exciting new ways to animate type? Or to endlessly tweak your typography? Or are they the answer to all your web font performance problems? Let’s find out!

Bram Stein

September 21, 2018
Tweet

More Decks by Bram Stein

Other Decks in Programming

Transcript

  1. Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag

    Ag Ag Regular Fonts Variable Fonts
  2. e

  3. mmmmm eeee e ee ee f f k k ee

    Width Weight Italic Slant Optical size "wdth" "wght" "ital" "slnt" “opsz"
  4. @font-face { font-family: Acumin; src: url(acumin.woff2) format(“woff2”); font-weight: 400; }

    … @font-face { font-family: AcuminVF; src: url(acumin-variable.woff2) format(“woff2”); font-weight: 1 999; }
  5. @font-face { font-family: Acumin; src: url(acumin.woff2) format(“woff2”); font-weight: 400; }

    … @font-face { font-family: Acumin Variable; src: url(acumin-variable.woff2) format(“woff2”); font-weight: 1 999; }
  6. Ag Regular Fonts Variable Fonts font-weight: 300 font-weight: 400 font-weight:

    600 font-weight: 700 font-weight: 800 font-weight: 900 Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag font-weight: 300 font-weight: 400 font-weight: 600 font-weight: 700 font-weight: 800 font-weight: 900
  7. Ag Regular Fonts Variable Fonts font-weight: 300 font-weight: 400 font-weight:

    600 font-weight: 700 font-weight: 800 font-weight: 900 Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag font-weight: 300 font-weight: 400 font-weight: 600 font-weight: 700 font-weight: 800 font-weight: 900 font-weight: 250
  8. Ag Regular Fonts Variable Fonts font-weight: 300 font-weight: 400 font-weight:

    600 font-weight: 700 font-weight: 800 font-weight: 900 Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag Ag font-weight: 300 font-weight: 400 font-weight: 600 font-weight: 700 font-weight: 800 font-weight: 900 font-weight: 200 font-weight: 487
  9. font-weight: [number]; font-stretch: [normal | ultra-condensed | extra-condensed | condensed

    | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>]; font-style: [normal | oblique | italic | <angle>]; font-optical-sizing: [auto|none]; Width Weight Italic/Slant Optical size
  10. h1 { font-weight: 1; animation: 3s infinite alternate changeWeight; }

    @keyframes changeweight { from { font-weight: 1; } to { font-weight: 999; } }
  11. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac

    dictum enim, vel convallis velit. Duis gravida, ex vitae ornare blandit, purus augue molestie ipsum, in ultrices ex lectus eget mi. In hac habitasse platea dictumst. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla cursus sed mauris vulputate fermentum. Fusce eget erat tristique eros placerat malesuada. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac dictum enim, vel convallis velit. Duis gravida, ex vitae ornare blandit, purus augue molestie ipsum, in ultrices ex lectus eget mi. In hac habitasse platea dictumst. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla cursus sed mauris vulputate fermentum. Fusce eget erat tristique eros placerat malesuada. Lorem ipsum Lorem ipsum
  12. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac

    dictum enim, vel convallis velit. Duis gravida, ex vitae ornare blandit, purus augue molestie ipsum, in ultrices ex lectus eget mi. In hac habitasse platea dictumst. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla cursus sed mauris vulputate fermentum. Fusce eget erat tristique eros placerat malesuada. Lorem ipsum Lorem ipsum Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac dictum enim, vel convallis velit. Duis gravida, ex vitae ornare blandit, purus augue molestie ipsum, in ultrices ex lectus eget mi. In hac habitasse platea dictumst. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla cursus sed mauris vulputate fermentum. Fusce eget erat tristique eros placerat malesuada.
  13. Acumin Pro 3.9Mb Acumin Pro Variable 270 Kb Ag Ag

    Ag Ag … Ag Ag Ag Ag Ag Ag Ag
  14. Exchange (regular, italic, bold) Brandon Text (regular, italic, bold) Oxide

    Solid (regular) Ambroise Francois (medium) Proxima Nova (thin, regular, bold)
  15. Exchange (regular, italic, bold) Brandon Text (regular, italic, bold) Oxide

    Solid (regular) Ambroise Francois (medium) Proxima Nova (thin, regular, bold)