Just For Fun: Vertical Text Layout Test Using CSS3

From: Ed Trager <ed.trager_at_gmail.com>
Date: Thu, 16 Jun 2011 16:39:33 -0400

Hi, everyone,

About a month ago I decided to try a little experiment with vertical CJK
text layout using CSS3.

The result --based on using CSS3's two-dimensional transform directives, and
in particular the rotate directive-- looks better than I thought it would
(at least in those browsers where it actually works):

     http://www.unifont.org/tt/

A particularly nice feature is that you can highlight a selection of text
and copy and paste it somewhere else just as you would expect (which might
not have been the case if one used a CANVAS-based solution, for example).

This demo was not really intended for production work, so there is no need
to criticize my un-optimized JavaScript, but other comments are welcome.

Best - Ed
Received on Thu Jun 16 2011 - 16:49:28 CDT

This archive was generated by hypermail 2.2.0 : Thu Jun 16 2011 - 16:49:29 CDT