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 Wednesday, 16 June 2010 23:15:53 UTC