惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美
V
V2EX
Cloudbric
Cloudbric
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
量子位
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
K
Kaspersky official blog
博客园 - 【当耐特】
T
Tenable Blog
L
Lohrmann on Cybersecurity
The Cloudflare Blog
S
Schneier on Security
A
Arctic Wolf
Latest news
Latest news
C
Cyber Attacks, Cyber Crime and Cyber Security
罗磊的独立博客
T
The Exploit Database - CXSecurity.com
Cisco Talos Blog
Cisco Talos Blog
小众软件
小众软件
P
Privacy & Cybersecurity Law Blog
WordPress大学
WordPress大学
Simon Willison's Weblog
Simon Willison's Weblog
雷峰网
雷峰网
NISL@THU
NISL@THU
人人都是产品经理
人人都是产品经理
月光博客
月光博客
J
Java Code Geeks
V
Visual Studio Blog
S
Security Affairs
博客园 - Franky
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
H
Heimdal Security Blog
有赞技术团队
有赞技术团队
V2EX - 技术
V2EX - 技术
AWS News Blog
AWS News Blog
G
GRAHAM CLULEY
T
Troy Hunt's Blog
SecWiki News
SecWiki News
Spread Privacy
Spread Privacy
宝玉的分享
宝玉的分享
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 聂微东

Unsung

The surprising richness of GarageBand – Unsung “The pipeline of future experts is thinning from both ends.” – Unsung “It took months to find appliances that didn’t need apps to function.” – Unsung Day for night – Unsung “But obviously, that’s just silly stuff.” – Unsung Within or without – Unsung A few interesting modern pixel fonts – Unsung Google Docs shortcut onboarding – Unsung “Why pay for an orchestra when your computer can do it all?” – Unsung Lisa’s copy (and cut, and paste) – Unsung “This is a common tell in web apps, and we did a lot of work to eliminate it.” – Unsung Chrome’s abnormal tab search – Unsung “Some say it sounds like an alto saxophone.” – Unsung Shallow breathing – Unsung “If you just ignore those pesky impossible details, the demo looks deceptively simple.” – Unsung “Accents are an opportunity, not a burden.” – Unsung Less doesn’t need more – Unsung “Easy to use,” the hard parts – Unsung “We accepted this gradual bloat, but that’s not progress.” – Unsung Safari and system design, pt. 1 – Unsung “193 hours of attempts (and practice)” – Unsung Not a radio pharma ad – Unsung “Cryptic mode was born from a hard constraint.” – Unsung Speaking of wiggling the mouse – Unsung “This is where your mouse becomes a cryptographic instrument.” – Unsung Mailbag: Photoshop’s focus post – Unsung Rug pulled – Unsung Save For Web claws – Unsung “Nothing short of a magic trick” – Unsung “They did the bare minimum and moved on.” – Unsung A preview of the future – Unsung Peaked in 2015 – Unsung “There seems to be a file that is just filled with undecipherable Morse.” – Unsung “This was a user-friendly computer.” – Unsung “Watchmaker’s delicate precision and ornate mechanical intent” – Unsung “Traditionally, fonts were just shapes.” – Unsung “Who thinks about a screwdriver?” – Unsung The land where time stood still – Unsung The vision of persistence – Unsung The 1990s called and they want their dialog box back – Unsung “Have you ever been annoyed by your Mac’s media keys?” – Unsung Early names – Unsung Mouse pointer as a mere mortal – Unsung “Examining the changelog in its entirety would be a massive task, given that it was now over 200,000 words long.” – Unsung CleanShot’s onboarding via settings – Unsung The tortoise and the hare live on – Unsung “The Helvetica of music notation” – Unsung Photoshop’s challenges with focus, pt. 2 – Unsung About Unsung: Thanks for your feedback! – Unsung Book review: Shadow of the Colossus (Boss Fight Books) – Unsung UI art from 4096 – Unsung Tactical dark modes – Unsung What deserves a second chance – Unsung “The cheatsheet you won’t need.” – Unsung “That’s how floating point errors and triangle numbers solved a mystery.” – Unsung “Plain text has been around for decades and it’s here to stay.” – Unsung Abort, Retry, No, Thanks – Unsung “The deeper you look, the more it starts to feel like a platform.” – Unsung Out of touch – Unsung Recency bias (non-derogatory) – Unsung “You could key smash, and it would type out the thing.” – Unsung “The fancy software figures it out for you.” – Unsung Got your back, pt. 5 – Unsung If a feature falls in a forest – Unsung “The system is so twisted that even Apple itself begs for these reviews from its own apps.” – Unsung “It can be really disorienting to scroll around a fully monochrome hexdump.” – Unsung Raycast’s confetti cannon – Unsung The edge not taken – Unsung “Area connected to a given node in a multi-dimensional array with some matching attribute” – Unsung “Use links, don’t talk about them.” – Unsung Unsung @ 250: Please send me your feedback! – Unsung Unsung @ 250: Nine design details – Unsung Unsung @ 250: Goals and principles – Unsung “To build a thing that immediately feels like you’ve had it forever is very hard to do.” – Unsung “Should be no trouble at all for a driver to understand.” – Unsung Thoughtful file dropping in Wakamaifondue – Unsung “Rather than trying to fix this mistake, the developers leaned into it hard in the sequel.” – Unsung The beauty and the terror of oddly-specific commands – Unsung “We can have the best of all worlds.” – Unsung In search for a more precise cursor – Unsung “Deere charges six figures for a tractor. But the farmers were still the product.” – Unsung Is this the latest? – Unsung “So I wrote a script that takes monthly screenshots of Google and Apple Maps.” – Unsung Only time will tell – Unsung “Approximately 21 times the estimated age of the universe” – Unsung “We’re trying to copy this old machine, weirdness and all.” – Unsung “Software is a unique art because it is so reactive.” – Unsung Blink comparators in photo editing apps – Unsung “Prototyping turned into an excuse for not thinking” – Unsung “Every step they take, in every single direction, is right on top of a rake.” – Unsung “Subtle line between animations that help and animations that hurt” – Unsung Why do Macs ask you to press random keys when connecting a new keyboard? – Unsung “And if I were to end this story here, this would be a great story.” – Unsung “If you use your computer to do important work, you deserve fast software.” – Unsung “It moved too slowly to be an asteroid.” – Unsung Linear’s clever internal redesign UI – Unsung “I’m hoping that the listeners out there, when they hear it, they’ll feel seen.” – Unsung For your consideration: Tab to fix spelling – Unsung Anachronisms – Unsung Testing tip: Enable the zoom peek gesture – Unsung
The trouble with font previews – Unsung
Marcin Wichary · 2026-06-11 · via Unsung

A reader sent me this screenshot from PowerPoint, with one of the menus looking the best it’s ever looked, and the other one showing to work with what we could charitably call “a UI hangover”:

It’s obviously bad craft and crossing over to the “embarrassing” territory, but I thought it’s an interesting question: what happened?

The main piece of the puzzle is that the first menu shows the name of the font in San Francisco, but the second asks to render the font name in itself, serving as a font preview.

Font previews are fascinating because they are the perfect showcase of how tricky fonts can be at scale.

Some time ago, I wrote an essay called Typography is impossible. TL; DR: It’s actually impossible to left align or center text. Ever. Not just because each font does whatever it wants – font size is a number that doesn’t really give you anything to hang a hat on, and the font can place itself in its box however it desires, too – and not just because fonts often lie (via bad metrics) about what they store inside, but also because aligning and centering are really in the eye of the license holder, and have more than one definition.

So, every time you align text to anything, in whatever way, it’s only an approximation. Most of the time that’s good enough. Here it is not.

I worked on font previews at Figma, and wanted to show you three screenshots of what we did.

This first one shows the default attempt: we ask the fonts to render themselves in the same size (16px), vertically centered in a box that’s always 28px tall… and they oblige on paper, but it really doesn’t feel like they are:

The second take shows what happens if you nudge the fonts up and down so they’re aligned to their baselines. This at least creates vertical rhythm; in effect, we need to make the fonts uneven to make them feel even.

And this is the final result, with extra adjustments:

What do we do in the final version? Too many small things to mention, but in essence:

  • We literally measure the fonts (programmatically) by rendering them and looking at them, and make adjustments. We blow them up (but not too much) if they’re optically too small, or reduce them (but not too much) if they’re too big.
  • We have a multiplier for scripty fonts and monospace fonts, where the traditional measurements are likely to be off.
  • We even special-case specific fonts by name. That feels like bad practice, but fonts are so varied and all over the place, that I think it’s perfectly fine to make exceptions for particular individual fonts that are popular or otherwise very important to your users.

These adjustments are all in the same category: getting off math balance to get to optical balance.

Here, you can compare before (the naïve version) with after (the final version):

If it feels subtle, imagine it applied to a much wilder menagerie of very thin, very huge, or very strange fonts. (The go-to example? Open a Mac and try typing in Zapfino.)

I’m not showing this to brag about my work – okay, fine, to some extent I am, we’re all human – and I truly believe this could be so much better, still. There are icon fonts, color fonts, and non-Western fonts so rich in variety and tradition that this category itself is basically a fractal.

Mostly, I wanted to share this lesson: dealing with fonts is hard, and dealing with fonts as a system even more so. Whether it’s the printing press, paper, or Illustrator, it takes people years or even decades to fully learn the craft of setting type, and to believe their eyes instead of only relying on math. But here, what’s needed is manufactured craft: we have to teach the machine to trust its eyes (which it doesn’t have) over math (which it can’t escape).

Now if you’re wondering why font previews look bad in so many apps, I believe it’s because people working on those did not allocate enough time to deal with all that.

But I’ve used the word “embarrassing” as there’s one more thing that the original did poorly, and something the reader identified immediately. The makers of PowerPoint allowed the font to escape its containment:

This is another big lesson: fonts will ignore their bounds at every single opportunity. That infamous CSS IS AWESOME graphic? That’s CSS underestimating text. That naked URL or code snippet pushing the mobile site past the viewport and making it scroll? That’s the creators of the site not building up enough imagination of what fonts can do when they’re not watching. Zalgo text? A joke, but based in reality.

Fonts are so much more feral than you think. Are you ready for it?

Thank you to Giovanni Lanzani for sending in the original PowerPoint screenshots.