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

On Tue, Oct 12, 2010 at 11:15 AM, Robert O'Callahan
<robert@ocallahan.org> wrote:
> 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.

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

~TJ

Received on Tuesday, 12 October 2010 18:19:26 UTC