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:15:54 +1300
Message-ID: <AANLkTimo4q0ciAnp8rpXU8LTH2AwGZ_zKK7MZ7Dxcmpm@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:01 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Tue, Oct 12, 2010 at 5:13 AM, Peter Moulder <peter.moulder@monash.edu>
> wrote:
>
> > When changes to units in CSS were last being discussed, I did wonder
> whether we
> > should drop the "whole number of device pixels" recommendation from
> > syndata.html, such that a px would equal a reference px.  The main reason
> I
> > didn't in the end post this suggestion was concern that bitmapped images
> such
> > as gifs (especially small ones) would still be with us for a long time.
>
> Indeed they will be, but more than that, rendering *any* content to
> anything other than whole device pixels is a big perf hit.  It would
> make painting unacceptably slow.
>

It's actually not bad if you can use the GPU for image scaling (e.g. Firefox
and IE9 drawing with D2D).

I think that recommendation should be dropped.

Rob
-- 
"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:16:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:32 GMT