Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize tts:fontVariantPosition #132

Closed
plehegar opened this issue Nov 4, 2015 · 0 comments
Closed

Generalize tts:fontVariantPosition #132

plehegar opened this issue Nov 4, 2015 · 0 comments

Comments

@plehegar
Copy link
Member

plehegar commented Nov 4, 2015

In order to support Japanese (and other CJK) usage, it is useful to support selection of other axes of glyph variation besides position (super/sub). In particular, selection of full width and half width variants, as supported by the OpenType 'fwid' and 'hwid' features, as well as ruby variants, is useful. To this end, the tts:fontVariantPosition property should be renamed to tts:fontVariant, and its values enhanced to specify, at a minimum:

  • super vs sub (script) forms
  • full vs half width forms
  • ruby forms

Specifically, propose the value of the generalized property to adhere to the following:

tts:fontVariant
: normal
| [ super | sub ] || [ full | half ] || ruby

When super or sub is specified, then the 'sups' or 'subs' OpenType feature is enabled. When full or half is specified, then the 'fwid' or 'hwid' OpenType feature is enabled. When ruby is specified, then the 'ruby' OpenType feature is enabled.

(raised by Glenn Adams on 2015-02-23)
From tracker issue http://www.w3.org/AudioVideo/TT/tracker/issues/374

@skynavga skynavga added this to the Editor's WR Work List milestone May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants