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: John Daggett <jdaggett@mozilla.com>
Date: Wed, 16 Jun 2010 08:18:21 -0700 (PDT)
To: Ishii Koji <kojiishi@gluesoft.co.jp>
Cc: www-style@w3.org
Message-ID: <1255196892.465149.1276701501261.JavaMail.root@cm-mail03.mozilla.org>

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

As with other vertical text related issues, there's currently no defined
support for this in CSS, either in 2.1 or CSS3.  The method you mention
(appending the '@') is *not* what I would recommend as a proposal,
modern font formats such as OpenType include support for rendering
either horizontal or vertical glyph forms (if the font provides them).
So in this case, user agents would automatically render using vertical
forms when writing-mode is set to vertical.  That way the author can
easily specify fonts once, for either writing-mode, rather than relying
on platform-specific naming schemes like this.


John Daggett
Mozilla Japan
Received on Wednesday, 16 June 2010 15:18:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:47 UTC