Welcome to Typophile
Please Sign in.

Safari font size discrete steps

Primary tabs

14 posts / 0 new
Last post
Claus Eggers Sørensen's picture
Joined: 17 Jan 2007 - 5:49am
Safari font size discrete steps
0

¿Por que is Safari doing these discrete steps (top part of image) in font-size when Firefox is not (lower part of image)?
The way Safari does it is winding me up to the n'th degree.

Hrant H Papazian's picture
Joined: 3 May 2000 - 11:00am
0

It seems to be rounding to the nearest integer.
Why? Maybe performance.

hhp

Claus Eggers Sørensen's picture
Joined: 17 Jan 2007 - 5:49am
0

Wouldn't surprise me. Safari has a pretty strict performance over features strategy.

Gustavo Ferreira's picture
Joined: 2 Jun 2002 - 6:38pm
0

Safari is doing it right, there is no such thing as “half a pixel”.

Jens Kutílek's picture
Offline
Joined: 12 Sep 2007 - 7:55am
0
Gustavo Ferreira's picture
Joined: 2 Jun 2002 - 6:38pm
0

Thanks for the links, Jens. Very informative.

In my opinion the definition of “pixel” in the CSS spec is fundamentally wrong. But what do I know.

Hrant H Papazian's picture
Joined: 3 May 2000 - 11:00am
0

> Safari is doing it right, there is no such thing as “half a pixel”.

Hmmm, closet Apple-berserker talk? There most certainly are fractional pixels, on many levels. Especially on an OS that worships wysiwyg!

hhp

Gustavo Ferreira's picture
Joined: 2 Jun 2002 - 6:38pm
0

Looks like the genius of Håkon Lie is behind this one too – see his reply to the question about “Definition of pixel” here.

Seriously, if he knew what he was doing we wouldn’t be in such a mess right now.

Gustavo Ferreira's picture
Joined: 2 Jun 2002 - 6:38pm
0

WYSIWYG is the root of all font rendering evil.
I propose WYSIATI instead — What You See Is All There Is.

Hrant H Papazian's picture
Joined: 3 May 2000 - 11:00am
0

> Safari has a pretty strict performance over features strategy.

Well then, for max performance just snap to powers of 2!
Who really needs 9, 10, 11, 12, 13, 14 and 15 point anyway?
I'm sure the right kind of press conference can spin those sizes into oblivion.

> WYSIWYG is the root of all font rendering evil.

That's a primo cushy bandwagon now.

hhp

Claus Eggers Sørensen's picture
Joined: 17 Jan 2007 - 5:49am
0

"Safari is doing it right, there is no such thing as “half a pixel”."

Non-sequitur, and I just showed you Firefox doing it.

Khaled Hosny's picture
Offline
Joined: 29 Aug 2007 - 4:57am
0

and I just showed you Firefox doing it.
How dare you!

Claus Eggers Sørensen's picture
Joined: 17 Jan 2007 - 5:49am
0

How dare you!

Brass balls.

Jens Kutílek's picture
Offline
Joined: 12 Sep 2007 - 7:55am
0

Probably Safari rounds values from the start to avoid inconsistencies caused by rounding later, like the so-called Firefox leading bug?