On Nov 10, 2011, at 4:07 PM, Cary Clark wrote:

> TL;DR: Why is the graphics context rotated when drawing vertical text?

I assume you're referring to the rotation done by InlineTextBox. The basic 
reason for the rotation was that it was a minimal change to the code and 
allowed a bunch of other drawing functions to remain unchanged. You could 
certainly eliminate the rotation, but you'd then have to patch all of the 
InlineTextBox drawing functions (underlines, selection, spell check markers, 
etc.) to be able to operate horizontally or vertically.

dave
(hy...@apple.com)

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to