Menu

#Font

383 posts

Feed·
20 of 383 posts
I doubled the root font size on all 76 of our pages and 60 per cent of the text did not move
📰
0Read More

I doubled the root font size on all 76 of our pages and 60 per cent of the text did not move

DEV Community: css·Daniel Pertu·2 days ago
#k9vhlJz6
#devtocss#devto#dev#size#font

A WCAG 1.4.4 measurement on a Next.js and Tailwind site. 14,067 text elements, 5,610 that respond to the reader's font size, 245 hardcoded pixel sizes, and the one page that grows a horizontal scrollbar.

15s
I Was Shipping Five Font Files. One Variable Font Replaced Them All.
🖼️
0Read More

I Was Shipping Five Font Files. One Variable Font Replaced Them All.

DEV Community: css·Parsa J·3 days ago
#ewfyBzmM
#devtocss#devto#dev#font#weight

Regular, Medium, Semibold, Bold, Bold Italic — five @font-face blocks, five network requests, just to render a design system's type scale. A single variable font file replaces all of them, and it's been supported everywhere since 2018.

15s
First paint takes 368ms at my desk and 9.2 seconds on a slow link, and 3.7 of those seconds are our own font preloads
📰
0Read More

First paint takes 368ms at my desk and 9.2 seconds on a slow link, and 3.7 of those seconds are our own font preloads

DEV Community: nextjs·Daniel Pertu·4 days ago
#VpSvWTvX
#devtonextjs#devto#dev#font#paint

The same pages measured at four connection speeds. LCP goes up 25 times, TTFB stays flat and lies about it, and blocking our own woff2 files takes first paint from 9.2 seconds to 5.6 and layout shift from 0.017 to 0.0002.…

15s
Pin the agent to the existing typography scale — no magic font-size values
📰
0Read More

Pin the agent to the existing typography scale — no magic font-size values

DEV Community: css·Sherotree·5 days ago
#gappzZ1X
#devtocss#devto#dev#font#size

Stop AI UI PRs from inventing one-off font-size and line-height values when the typography scale already has a token or utility for that step.

15s
We preload 52 KB of our brand typeface on every page, and the browser renders the system font
📰
0Read More

We preload 52 KB of our brand typeface on every page, and the browser renders the system font

DEV Community: css·Daniel Pertu·5 days ago
#VOpVjQ9A
#devtocss#devto#dev#font#geist

Our site downloads two Geist subsets on all 79 pages and resolves font-family to ui-sans-serif anyway. The cause is one word in a Tailwind v4 theme block. Chrome's own font inspector, and three of my earlier posts, say the quiet part.

15s
Responsive type and spacing by changing only the root font size
🖼️
0Read More

Responsive type and spacing by changing only the root font size

DEV Community: css·Ramon Gebben·6 days ago
#utueCeLL
#devtocss#devto#dev#size#font

In print, space was never a number of its own. It was measured in ems, the size of the type being...

15s
Font Loading Is a Layout Decision: Measured Shift for swap, optional, fallback and block
📰
0Read More

Font Loading Is a Layout Decision: Measured Shift for swap, optional, fallback and block

DEV Community: css·Design Den Solutions·6 days ago
#7oyI8bHP
#devtocss#devto#dev#font#swap

Most advice about font-display stops at "use swap unless you can't stand the flash". That framing is...

15s
Free stand-ins for Calibri, Segoe UI and Helvetica, measured, and the CSS that stops the jump
📰
0Read More

Free stand-ins for Calibri, Segoe UI and Helvetica, measured, and the CSS that stops the jump

DEV Community: css·PYXL·7 days ago
#sr49gMEM
#devtocss#devto#dev#font#fallback

Calibri, Segoe UI and Helvetica turn up in a lot of mockups, and none of them can ship as a web font....

15s