W3C home > Mailing lists > Public > www-style@w3.org > July 2009

Re: How can we improve quality of text content rotated using CSS transform?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 26 Jul 2009 21:47:00 +1200
Message-ID: <11e306600907260247x4de92040m2710bd586d25a8d@mail.gmail.com>
To: Biju <bijumaillist@gmail.com>
Cc: www-style@w3.org
On Sun, Jul 26, 2009 at 11:27 AM, Biju <bijumaillist@gmail.com> wrote:

> How can we improve quality of text content rotated using CSS transform.
> I tried in firefox and safari on WinXP, the text content rendered
> using -moz-transform/-webkit-transform looks ugly than same content
> screen captured as PNG then rotated using CSS transform.
>

This is really an implementation issue and should just be bugs filed against
Firefox and Safari (or Webkit).

AFAIK the underlying problem here, at least in Firefox, is that the Windows
GDI Cleartype renderer rounds the X and Y coordinates of glyphs to integers
before rendering. If there was an easy fix, I'd use it, but I don't think
there is. Rendering the scene untransformed (or possibly with a scale that
approximates the true scale) and then transforming the resulting image would
help in some cases, but not others. New APIs in Windows 7 might help ... but
not for many users in the forseeable future.

Further discussion of this is offtopic for this list, I think.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Sunday, 26 July 2009 09:47:36 GMT

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