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: Thu, 17 Jun 2010 00:30:24 -0400
To: Ken Lunde <lunde@adobe.com>
CC: John Hudson <tiro@tiro.com>, John Daggett <jdaggett@mozilla.com>, "www-style@w3.org" <www-style@w3.org>, David Lemon <lemon@adobe.com>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E09E910C6C7@MAILR001.mail.lan>
Hi Ken, thank you for your kind response.

I can't apply 'vert' GSUB feature in CSS though, can I? I understand how to do it in Win32 API. I understand it's doable by GSUB feature in TrueType. This time, I'm looking for the way to use that from HTML or CSS.

Assuming there's no path to use the feature from CSS, do you think it's possible to consider for future additions to CSS font module?

Koji Ishii

-----Original Message-----
From: Ken Lunde [mailto:lunde@adobe.com] 
Sent: Thursday, June 17, 2010 1:02 PM
To: Ishii Koji
Cc: John Hudson; John Daggett; www-style@w3.org; David Lemon
Subject: Re: [css-fonts] Is it possible to select a vertical variant in a font?


I think that you simply need to apply the 'vert' GSUB feature. If a glyph has a vertical variant, the substitution will take place. If not, such as for the standard (aka, not small) kana and kanji, then the glyphs will be passed through as-is. If you want to include the pre-rotated (rotated 90 degrees clockwise) Latin glyphs, then apply the 'vrt2' GSUB feature instead. See Table 7-12 (attached) from page 494 of "CJKV Information Processing" Second Edition, specifically the "90 degrees clockwise" and "As is" columns.


-- Ken
Received on Thursday, 17 June 2010 04:30:59 UTC

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