W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: about the use of pixels as a unit for typography

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 13 Oct 2010 07:41:49 +1300
Message-ID: <AANLkTikPzBcokszn7K0n-Sur5OgndLafZ4te2M9kvC2=@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Peter Moulder <peter.moulder@monash.edu>, www-style@w3.org
On Wed, Oct 13, 2010 at 7:18 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> Hm, ok.  What about things like border-widths?  Should those still be
> snapped to whole px in the actual value?

Yes, to avoid blurry edges. I'm not sure if that's still needed with 300dpi

Note that such snapping may be better done at rendering time than layout (or
style resolution) time. There's a set of tradeoffs there.

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Tuesday, 12 October 2010 18:42:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:39 UTC