W3C home > Mailing lists > Public > www-style@w3.org > June 2010

RE: [css-fonts] Is it possible to select a vertical variant in a font?

From: Ishii Koji <kojiishi@gluesoft.co.jp>
Date: Wed, 16 Jun 2010 23:36:00 -0400
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E09E910C6C3@MAILR001.mail.lan>
Thank you fantasai.

I was creating a document how a glyph can change its form other than rotating 90 degrees, and wanted to show an example using HTML, so CSS transforms can't be a help. You know, vertical variant is mostly rotation, but some glyphs change the shape as well.

It looks like it's not possible today. Thank you for your help anyway.


Regards,
Koji Ishii

-----Original Message-----
From: fantasai [mailto:fantasai.lists@inkedblade.net] 
Sent: Thursday, June 17, 2010 8:15 AM
To: Ishii Koji
Cc: www-style@w3.org
Subject: Re: [css-fonts] Is it possible to select a vertical variant in a font?

On 06/16/2010 07:56 AM, Ishii Koji wrote:
> Hello,
>
> I'm wondering if it's possible to select a vertical variant using CSS, 
> either in current recommendations or in any drafts.
>
> I know I can prepend "@" to the font-family to do that, but it's not 
> cross-platform, and some browsers do not support this even on Windows.
>
> I looked around the site without luck. If anybody knows how I can do 
> this, I'd appreciate to know.

Hello Koji-san,
The layout engine should be selecting the vertical variant of a font whenever rendering text in a vertical writing mode. The page author should not have to select this manually.

If it is necessary to rotate horizontal text, then CSS Transforms can be used. Alternatively, we can add a value to the upcoming 'text-orientation' property that selects rotated glyphs rather than vertical ones.

~fantasai
Received on Thursday, 17 June 2010 03:36:37 GMT

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