w3c / w3c/mathml-core

Add detailed rules for the ssty OpenType feature

Open
#135 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

level-2 MathML Core need specification update need tests opentype / tex
Dominant language
HTML
Stars
56
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing ssty references in chapters 2 and 3, then compare them with the linked OpenType feature specifications and Mozilla report. Define the detailed rules for enabling ssty, including the interaction with font-feature-settings, and update the MathML Core draft so the behavior is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.