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
Add detailed rules for the ssty OpenType feature #135
Comments
Another reason to support such "ssty": Consider |
This is the current text:
|
Consensus from 15 June 2020: remove the text above and move this to level 2. |
Murray mentioned use cases for ssty: https://lists.w3.org/Archives/Public/public-mathml4/2020Jun/0019.html (although I don't know whether they would be handled by the rule mentioned above) |
The previous rule proposed in the spec was relying on the "scriptlevel value" but it's not clear whether or not it will be accessible, depending on what ends up on the CSS side. |
I think there was confusing in https://github.com/mathml-refresh/mathml/issues/146 ; This is NOT about converting U+0027 (' apostrophe) to U+2032 (′ prime) so it has nothing to do with the character-level changes. This is about adjusting size for "already prescript glyphs" when rendered as a script by doing glyph-level changes. The markup suggested by MathML3 is
NOT
From the OpenType MATH spec:
|
Using
|
Currently, the ssty feature is mentioned in the following paragraph:
"Some characters like primes already have script size by default and hence would be too small when used in a script position. Hence user agents must support glyph selections via the OpenType font feature ssty (Script Style) in order to display such “prescripted” characters with the appropriate size." (chapter 2)
"If mtext [or token element with similar box model] is used at a non-zero scriptlevel then user agents must enable the ssty OpenType feature on text nodes unless it contradicts what the page author has specified with the font-feature-settings CSS property." (chapter 3)
See also:
https://bugzilla.mozilla.org/show_bug.cgi?id=442637
http://www.microsoft.com/typography/otspec/features_pt.htm#ssty
http://www.microsoft.com/typography/otspec/math.htm
Original report: https://gitlab.com/mathml/MathMLinHTML5/issues/2
The text was updated successfully, but these errors were encountered: