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: David Hyatt <hyatt@apple.com>
Date: Mon, 27 Jul 2009 13:23:55 -0500
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <CF61778F-70BD-4A83-B1BB-F0169D644566@apple.com>
To: Biju <bijumaillist@gmail.com>
On Jul 26, 2009, at 4:47 AM, Robert O'Callahan wrote:

> 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.

Robert is right.  This is a GDI issue.  If you try Safari on OS X, you  
will see that rotated text looks fine.

Received on Monday, 27 July 2009 18:24:36 UTC

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