Smashing Magazine - #407: Web Typography

How to choose typefaces, type design resources, fluid typography editor and font generators. Issue #407 May 30, 2023 View in the browser

Smashing Newsletter

Masaa’ Alkhayr Smashing Friends,

Typography always seemed to be quite mysterious to me. Finding just the right type pairings with a proper type scale often seems like a daunting task. But it doesn’t have to be.

Typically I’d start by designing a fluid, responsive type scale in greyscale, trying to find a magical spot for font size, line length and line height, stress testing typefaces with Ill0O0, with Erik Spiekermann’s book on Find Out How Type Works (free eBook) always by my side.

Find Out How Type Works
A comparison between less legible type set in Gill Sans and Prosto One (left) with more legible type set in Raleway and Noto Sans (right). From a friendly guide by Google Fonts.

In this newsletter, we highlight some of the useful type tools for designers and front-end engineers — to help you design better typography, and deliver it to end users faster. We hope you’ll find it useful!

SmashingConf Antwerp 2023

Typography will also be one of the topics we’ll cover in our next SmashingConf Antwerp 🍫 (Oct 9–11) — along with plenty of practical sessions and workshops around design, UX, research, design patterns and complex enterprise UX. Friendly, approachable and affordable. Get your ticket!

In the meantime though, let’s dive into everything web typography, from front-end to design!

Vitaly (@vitalyf)


1. Modern Fluid Typography Editor

Fluid typography changes how we approach typography in responsive design. Instead of defining fixed typography values for each screen size, you can set a single fluid value and let CSS render the appropriate values for specific screen sizes. Adrian Bece’s Modern Fluid Typography Editor is a handy little tool for keeping fluid typography behavior consistent.

Modern Fluid Typography Editor

When creating multiple fluid typography configurations, you can use the tool to define size constraints, rate, and relative size. The CSS updates in real-time as you fine-tune the values, so once you’re happy with the result, all you need to do is copy the code snippet. With a graphical overview and a table view, the editor also visualizes the final fluid values and shows you all the values on fixed screen width sizes at a glance. (cm)


2. Identifying Fonts From An Image

Typefaces are everywhere. It could be a font on a piece of packaging, a menu card at a restaurant, or a heading in a book, maybe. Wherever you come across a font that catches your attention, WhatTheFont makes it easy to identify it. All you need is a photo.

WhatTheFont

WhatTheFont uses deep learning to search a collection of over 230,000 font styles and find the best match for your photo. Just upload an image of the font or paste an image URL into the search bar, and the tool will identify the font for you. It even works with connected scripts and with several fonts in an image. One for the bookmarks. (cm)


3. What’s Trending In Type

As a designer, Jeremiah Shoaf was always frustrated by the lack of good resources for choosing fonts for design projects. Ten years ago, he decided to change that and started Typewolf, a resource for designers who are looking for examples of how real type performs on actual websites.

Typewolf

Today, Typewolf features more than 1,000 font pages with custom descriptions, listed alternatives, and suggested font pairings, and every day, Jeremiah adds a new real-life example of great typography from across the web. The blog posts, guides, and learning resources on the site offer a fantastic deep-dive into the world of typography and help you achieve flawless type on your design projects. (cm)


From our sponsor

Power Up Your Workflow With Tools On Setapp

MacPaw
From tracking billable hours to managing fonts and saving code snippets, Setapp app subscription platform brings you 240+ versatile apps for Mac and iOS — all under one monthly membership. Sign up for a 7-day free trial and explore handy apps for your tasks! Discover Setapp with 7-day free trial.


4. Fallback Font Generator

We all know the situation when we are about to click a link and suddenly the layout shifts. Adjusting web fonts and system fallbacks using special @font-face descriptors helps you reduce the annoying Cumulative Layout Shift and create better experiences for your users. But how to get both fonts to match as closely as possible to prevent the dreaded layout shift?

Fallback Font Generator

Brian Luis Ramirez’s Fallback Font Generator makes it easy to adjust the fallback font until it matches the brand font or the brand font until it matches the fallback. All you need to do is upload your brand font (it stays on your computer) and use the sliders until both fonts overlap. The CSS rules update in real-time, ready to be copied and pasted into your stylesheet. (cm)


5. Optimizing Variable Fonts

Variable fonts offer exciting features and a lot of creative freedom. But that often comes at a price: file size. Stefan Judis was in a situation where he wanted to use a variable font, but with 785kB, the font file was too heavy for his lightweight blog. With the help of Zach Leatherman’s web font tool Glyphhanger, Stefan was able to subset the file to the bare minimum.

Glyphhanger — a tool to subset and optimize fonts

As Stefan explains, a combination of subsetting the font to the Latin character set, using ASCII to further reduce the number of characters, and whitelisting individual glyphs resulted in a slim file of only 58kB that was perfectly tailored to the project’s needs while retaining all the fancy variable font features. Valuable tips for anyone who would like to use a variable font but is put off by the performance implications it could bring along. (cm)


6. Upcoming Workshops and Conferences

That’s right! We run online workshops on frontend and design, be it accessibility, performance, or design patterns. In fact, we have a couple of workshops coming up soon, and we thought that, you know, you might want to join in as well.

Smashing Online Events
With online workshops, we aim to give you the same experience and access to experts as in an in-person workshop from wherever you are.

As always, here’s a quick overview:


7. The Fastest Google Fonts

Today, web fonts are faster than ever. And while self-hosted fonts are usually the best solution to performance and availability problems, services like Google Fonts offer a convenient approach to serving web fonts. But what if Google Fonts isn’t fast enough for your needs? Harry Roberts went down the rabbit hole and discovered some measures that help you mitigate a lot of the issues that come with Google Fonts.

The Fastest Google Fonts

To create an experience several seconds faster than the baseline, Harry recommends a combination of asynchronously loading CSS, asynchronously loading font files, opting into FOFT, fast-fetching asynchronous CSS files, and warming up external domains. If you are looking for a slim code snippet that gets the job done, Harry has got you covered. (cm)


8. Type Design Resources

Have you ever played with the idea of designing your own typeface? Or you are a type designer and are looking for tips and tools to help you with your work? Then the site Type Design Resources is for you. Curated by Justin Penner, it is a growing collection of type design resources covering everything from the very basics to running your own foundry.

Type Design Resources

Among the resources are guides, books, workshops, and courses to get you familiar with type design, community groups and events, as well as blogs and podcasts to keep you up-to-date. You’ll also discover practical tips and tools to help you in every step of the type process — from OpenType feature programming and standardizing character sets to kerning and proofing, building type specimens, and open-sourcing and selling your fonts. A treasure chest for any type designer. (cm)


From our sponsor

Northwestern’s Online MS In Information Design And Strategy

Northwestern’s Online MS In Information Design And Strategy
Prepare for a range of dynamic communication roles and build the skills needed to lead communication strategy, translate complex data, and drive user interactions. Choose from specializations in content strategy, UX/UI, communication with data, and learning design. Learn more →


9. New On Smashing Job Board


10. Recent Smashing Articles


That’s All, Folks!

Thank you so much for reading and for your support in helping us keep the web dev and design community strong with our newsletter. See you next time!


This newsletter issue was written and edited by Cosima Mielke (cm), Vitaly Friedman (vf) and Iris Lješnjanin (il).


Sent to truly smashing readers via Mailchimp.
We sincerely appreciate your kind support. You
rock.

Follow us on Twitter Join us on Facebook

unsubscribe update preferences view in your browser

Older messages

#406: State Of The Web 2023

Tuesday, May 23, 2023

State of CSS 2023, new JavaScript and TypeScript features, SVG, faivons, Web Components and inclusive design. Issue #406 • May 23, 2023 • View in the browser Smashing Newsletter God eftermiddag

#405: UX and Interface Design

Tuesday, May 16, 2023

UX metrics, golden rules of design research, B2B interface, guide to animation, enterprise UX and designing for attention. Issue #405 • May 16, 2023 • View in the browser Smashing Newsletter Iyi

#404: Front-End Tooling

Tuesday, May 9, 2023

DevTools tips, fluid type scale, Terminal explained, HTML email, better mobile input and fluid CSS grid. Issue #404 • May 2, 2023 • View in the browser Smashing Newsletter Cagā dina Smashing Friends,

#403: Advanced CSS In 2023

Tuesday, May 2, 2023

Advanced CSS techniques with container queries, :has() selector, CSS text balancing, a combined CSS-aspect-ratio-grid and new color formats in CSS. Issue #403 • May 2, 2023 • View in the browser

#402: Useful Figma Plugins and Tools

Tuesday, April 25, 2023

Figma design specs, skeleton screens, handoff helpers, design systems, embedding ChatGPT into Figma and Figma templates. Issue #402 • April 25, 2023 • View in the browser Smashing Newsletter Bom dia

You Might Also Like

Behind the Design of Lauren Santo Domingo’s Ski House

Thursday, November 21, 2024

View in your browser | Update your preferences ADPro Peak Style When it comes to clients, says AD100 designer Andre Mellone, “my biggest nightmare is a person who says, 'Carte blanche, do whatever

2025 Interior Design Trends, Revealed

Wednesday, November 20, 2024

View in your browser | Update your preferences ADPro Image may contain: Furniture, Chair, Interior Design, Indoors, Home Decor, and Rug Inside Our Newest Trend Report “Design, like fashion, tries to

Want a free strategy session with us?

Wednesday, November 20, 2024

Plus, the emails editors open most often. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

One Simple Thing You Can Do to Retain Your Staff

Tuesday, November 19, 2024

View in your browser | Update your preferences ADPro By my account, it's not fall until I've watched You've Got Mail, Nora Ephron's '90s film adaptation of the 1930s Hungarian play

#483: UX Writing

Tuesday, November 19, 2024

With writing guides, content testing and practical guides for better content design. Issue #483 • Nov 19, 2024 • View in the browser Smashing Newsletter Hej Smashing Friends, Every digital product

Accessibility Weekly #423: Beautiful Focus Outlines

Monday, November 18, 2024

November 18, 2024 • Issue #423 View this issue online or browse the full issue archive. Featured: Beautiful focus outlines "Unfortunately, focus outlines are often overlooked in web design.

175 / Build your ideas without writing any code

Monday, November 18, 2024

Product Disrupt Logo Product Disrupt Half-Monthly Nov 2024 • Part 1 View in browser Welcome to Issue 175 One month ago, I quit my longest-standing job and embarked on a pathless path to let my

Into the Fediverse

Sunday, November 17, 2024

Issue 221: We need decentralized social networks ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The Books AD Editors Can’t Put Down Right Now

Friday, November 15, 2024

View in your browser | Update your preferences ADPro Good Reads Here at AD PRO, we're all about celebrating a good coffee table book. With crisp project imagery and behind-the-scenes stories tucked

What astrology has to do with PR?

Wednesday, November 13, 2024

and, no we won't tell you to read your chart! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏