98.css icon indicating copy to clipboard operation
98.css copied to clipboard

Font smoothing issue on non-retina screen with desktop safari

Open muratcorlu opened this issue 5 years ago • 16 comments

If you open the page in an external(non-retina) screen in latest Safari on MacOS Catalina, font smoothing doesn't render properly. Here is a screenshot:

image

muratcorlu avatar Apr 22 '20 09:04 muratcorlu

Echo of this on an  Thunderbolt Display with macOS Catalina.

grstreten avatar Apr 22 '20 11:04 grstreten

Yikes! Sorry about this. Wondering if the letter-spacing I just removed will fix this, or if I need to make sure not to remove -webkit-font-smoothing for this scenario.

jdan avatar Apr 22 '20 14:04 jdan

I also played with it but couldn't find an easy solution. I'll also try playing with letter-spacing.

muratcorlu avatar Apr 22 '20 14:04 muratcorlu

Disabling letter-spacing doesn't help.

muratcorlu avatar Apr 22 '20 20:04 muratcorlu

Hey @muratcorlu!

We disabled font-smoothing when we brought the new font in. Wanna take a look at https://jdan.github.io/98.css (hard refresh with command+shift+R) and let me know how it looks?

jdan avatar Apr 23 '20 17:04 jdan

Whilst I'm yet to check on a non-retina display, rendering in Safari is looking a little funky now. Apologies if this needs a separate issue, happy to raise it in one. Verified it's not occurring in Chrome.

Screenshot 2020-04-23 at 22 47 13

grstreten avatar Apr 23 '20 21:04 grstreten

Hi @jdan

Here is the latest situation:

image

muratcorlu avatar Apr 24 '20 07:04 muratcorlu

Ran into a fun one: https://github.com/jdan/98.css/issues/68#issuecomment-620060479

I know nothing about web fonts :)

jdan avatar Apr 27 '20 15:04 jdan

It's almost as if the space ruins it!

Hey @muratcorlu if you modify the "My First Program" header into "MyFirstProgram" does it go away?

jdan avatar Apr 27 '20 15:04 jdan

@jdan yes, without spaces it looks good.

image

muratcorlu avatar Apr 28 '20 11:04 muratcorlu

Same applies for dialog content text. Without space, it's ok. What is the cause for this? 🤯

image

muratcorlu avatar Apr 28 '20 11:04 muratcorlu

It also looks like that on a Retina MacBook Pro, so the non-Retina is not the issue here.

dertuxmalwieder avatar May 25 '20 06:05 dertuxmalwieder

I'm not sure if this is an issue any more, it looks good on Safari 14.1.1 (16611.2.7.1.4) imagen

DannyJJK avatar Jun 02 '21 20:06 DannyJJK

The "dialog" seems to be fixed, but the tree and dropdown boxes still look strange on Retina (Safari 14 TP).

Bildschirmfoto 2021-06-02 um 22 57 36

dertuxmalwieder avatar Jun 02 '21 20:06 dertuxmalwieder

Here is the current situation for me on Safari 14.1.1 and on an external (non-retina) display.

image image

It's way better. But still some letters in that thin font overlapping.

muratcorlu avatar Jun 03 '21 07:06 muratcorlu

Yep, I'm using an old non-Retina MacBook Air (Safari 14.1), and I see the same kerning issues as @muratcorlu is seeing. I don't believe there are any missing pixels or mis-rendered individual characters like in @dertuxmalwieder's screenshot, though.

rolandcrosby avatar Jun 03 '21 15:06 rolandcrosby

If it helps, both XP.css and 7.css don't have these problems for me.

dertuxmalwieder avatar Jun 03 '21 15:06 dertuxmalwieder