Google font looks totally different on Windows vs my Mac?

FrostyBear

New Member
Messages
67
Reaction score
0
Location
Brisbane, AU

Picked Inter for my little portfolio site because it looked so clean on my MacBook. Then I opened it on my work laptop (Windows, cheap Dell) and it's like a different font entirely. Chunkier, letters feel cramped together, way heavier overall.

I spent a solid hour thinking I'd messed up the weights somewhere. Nope. Same file, same CSS.

Tried that -webkit-font-smoothing: antialiased thing and it did nothing on Windows, which apparently is normal? Something about ClearType doing its own thing. I don't fully get it tbh.

So do you all just pick fonts that behave on both, or is this something you fix later? I keep seeing people say "just use system fonts" and honestly I'm starting to get why. Only real solution I found was bumping the letter-spacing a hair on Windows which feels like a hack.

jt_loves_tacos

New Member
Messages
75
Reaction score
0
Location
Phoenix, AZ

Yeah this is a known pain with Inter specifically. It was designed for screens originally but the hinting is basically nonexistent, so Windows ClearType just does whatever it wants with it. Mac does its own smoothing so it always looks polished there.

The letter-spacing hack is legit though, I've seen it in production. People also bump the font-weight down a notch on Windows, like use 400 where you'd use 500 on Mac. Inter has a variable version that helps a bit but doesn't fully solve it.

Honestly the "just use system fonts" crowd has a point for body text. -apple-system, Segoe UI, Roboto stack will look native everywhere and nobody complains. Inter is great for headings and UI where you control the size and weight more tightly.

If you want to dig into the rendering side more there's usually good stuff in Forums/Html Css And Javascript.5/ about this kind of thing.

What sizes are you running it at? Inter falls apart below like 14px on Windows in my experience.

jen_93

Member
Messages
62
Reaction score
0
Location
Cape Town, ZA

ngl the letter-spacing bump is the part I'd push back on. I've seen it shipped and it looks fine in a screenshot, but once you're using a design system the Windows values start fighting the grid, headings drift out of alignment with body copy, and now you're maintaining two sets of typography rules forever. I'd rather swap fonts than do that.

What actually worked for me: Inter ships a "Display" variant that's tighter and meant for bigger sizes, and for body text I just gave up and moved to Public Sans. Similar humanist feel, way better hinting on Windows, and honestly nobody has ever clocked the swap. Headings stayed Inter, body went Public Sans, done.

jt's 14px point is the real one though. Below that Inter on Windows gets genuinely muddy, menus and small labels especially. If your portfolio is mostly headings and short blurbs you're probably overthinking this, because the Windows visitors don't know it's supposed to look different.

How much body copy are we actually talking about here? That changes the answer a lot.

nightowl87

New Member
Messages
60
Reaction score
0
Location
Portland, OR

the two-font system jen mentioned is what I ended up doing too, except I swapped the other direction. kept Inter for body at 16px and up (looks fine to me at that size on Windows honestly) and moved headings to something with actual personality. nobody's noticed anything.

the part that got me is you can't even trust screenshots from a Windows machine to judge this stuff. ClearType depends on the display and the scaling. my cheap Dell at 100% scaling looks different from my friend's ThinkPad at 125%. so you "fix" it on your laptop and it's broken again somewhere else.

out of curiosity, are you testing on a real Windows machine or just a VM/browser tool? because if it's the latter I wouldn't trust anything you're seeing.

zer0cool99

New Member
Messages
67
Reaction score
0
Location
Seattle, WA

nightowl's scaling point is the one that'd send me spare. Same page looks like two completely different sites on my 27" at home vs the work laptop sitting at 125%. Half the "fixes" floating around online are just fixes for one specific monitor anyway, so you chase your tail.

Tbh though, is it worth the fuss? Built a little site for a footy tipping comp last year and about 90% of the traffic was phones. Nobody's opening your portfolio on a crusty Dell at 100% scaling except maybe one recruiter on a locked-down work machine, and they're definitely not sitting there judging your hinting. Sort the headings, make sure the body isn't muddy under 14px like jt said, move on.

jen's two-font swap is the cleanest answer in here though. Public Sans for body is a safe pick, nobody clocks it. I wouldn't go near the per-OS letter-spacing rules, that's the kind of thing you come back to in 8 months wondering why it's there and too scared to delete it.

jen, did you have to retune your type scale when you swapped body over, or was Public Sans close enough to Inter that it just dropped in?

greg_ohio

New Member
Messages
71
Reaction score
0
Location
Columbus, OH

bhai this thread is gold, I literally had the same thing happen when I opened my portfolio on my cousin's Windows laptop and thought I'd broken something lol. Never even considered the scaling angle, nightowl's 125% vs 100% point genuinely broke my brain a bit.

My site is mostly headings and like two paragraphs of body copy so maybe I'm overthinking this whole thing, zer0cool might be right that it's not worth the fuss.

jen, when you swapped body over to Public Sans did the x-height difference mess with your line-height at all? Or did it just drop in clean? Asking because I'm about to do the exact same swap and I don't want to retune everything.

Also random q, is testing on a VM even worth it or do I need to borrow an actual Windows machine to see the real thing?

jt_loves_tacos

New Member
Messages
75
Reaction score
0
Location
Phoenix, AZ

Fair pushback on the letter-spacing thing jen. I've only ever done it on tiny sites with like 6 type styles where nothing else touches the grid. Would not want to own that inside a real design system, you're right that it just becomes a permanent tax you're scared to remove.

greg, the VM answer is a hard no. A VM usually renders through the host GPU driver stack so ClearType either goes weird or silently falls back to grayscale AA, which is honestly the better looking version. You'll think everything's fine and then get wrecked on actual hardware. Browser testing tools are even more useless, they mostly just fake the viewport size and call it a day. Cheapest honest test is a $60 used laptop off marketplace, or just borrow your cousin's again and scroll it at 100% then 125%. That's the whole test.

The one thing I'd push back on is zer0cool saying it's not worth the fuss. For a portfolio specifically, the Windows visitor is basically the recruiter on a locked down work Dell, that's the exact scenario you're designing for. Phones don't matter for this... wait, they do for traffic, but the small desktop slice you do get is disproportionately that one person. So it matters way more than the numbers suggest. You don't have to fix it perfectly, but "nobody will see it" is the wrong reason to skip it.

patrick_jones88

New Member
Messages
60
Reaction score
0
Location
Glasgow, UK

Been running Inter on a few client sites and the Windows thing is very real. One angle nobody's hit yet though: whether you load the variable font or the static instances makes a visible difference on Windows. The variable file tends to render heavier at the same nominal weight than the matching static instance does. I swapped one site from variable Inter to static 400/600/700 and it tightened up on my Dell without touching letter-spacing at all. Not a fix exactly, more like it removes one of the variables (pun fully intended). Worth trying before you rebuild your type stack.

On the VM question I'd half push back on jt. Straight virtualized GPU from Parallels or VirtualBox, yeah, that's grayscale AA and it lies to you, no argument. But if you're on a Windows host with a real card and pass the GPU through, you get actual ClearType and it's close enough to trust. Edge case though, most people aren't set up like that, so borrowing the cousin's laptop is still the sane move.

jen, did Public Sans hold the same line-height for you or did you retune it? greg asked twice now and I'm curious too, because x-height is where those two diverge the most in my head. Inter's is bigger, which is exactly why it reads so clean at small sizes on Mac and turns to mush on Windows at the same size. That's the whole trade in one sentence.

patrick_jones88

New Member
Messages
60
Reaction score
0
Location
Glasgow, UK

jen, closing the loop on the line-height question since greg and I both asked it: you will want to nudge it, but only a half-step. Inter's x-height is bigger than Public Sans, so at the same 16px the PS body copy reads a touch smaller and tighter than you're used to. I went from 1.5 to about 1.55 on the one site I swapped and it sat right. The type scale itself didn't need touching, it was purely the leading. So it drops in clean-ish, just not free.

On the variable vs static thing I brought up earlier, since it doesn't sound like anyone's tried it: the gap is real but small, maybe 5% heavier on the variable file at the same nominal 400. At 20px you'd never notice. At 13-14px that 5% is basically the entire problem, which is why it tightened up my Dell when I switched to static instances. Ten minute change, no new fonts to learn, worth doing before you rebuild anything bigger.

zer0cool, I'm siding with jt on the "not worth the fuss" bit though. My portfolio pulled maybe 40 desktop visits last year and I'd bet good money half came from a locked-down work machine. Tiny slice, but it's the slice that's actually deciding whether to email you. Phones win on traffic, desktop wins on the person doing the hiring. Different jobs.

If you want the deeper rendering rabbit hole there's stuff in Forums/Html Css And Javascript.5/ worth a skim, but honestly the two-font swap plus static instances covers 95% of it. What did you land on for line-height, jen? Curious if 1.55 was overkill or if you went higher.

You must log in or register to reply here.