Bug 181829

Summary: Implement pseudo-scripts
Product: WebKit Reporter: Minsheng Liu <lambda>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: fred.wang, mmaxfield
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Minsheng Liu
Reported 2018-01-18 20:05:29 PST
From MathML 3 spec: > There are a number of characters in the UCS that traditionally have been taken to have a natural ‘script’ aspect. The visual presentation of these characters is similar to a script, that is, raised from the baseline, and smaller than the base font size. The degree symbol and prime characters are examples. For use in text, such characters occur in sequence with the identifier they follow, and are typically rendered using the same font. These characters are called pseudo-scripts here. The standard suggests to use explicit script markup. However, the rendering of those characters shall be treated differently (e.g. not raised). The list of those characters: U+0022 QUOTATION MARK U+0027 APOSTROPHE U+002A ASTERISK U+0060 GRAVE ACCENT U+00AA FEMININE ORDINAL INDICATOR U+00B0 DEGREE SIGN U+00B2 SUPERSCRIPT TWO U+00B3 SUPERSCRIPT THREE U+00B4 ACUTE ACCENT U+00B9 SUPERSCRIPT ONE U+00BA MASCULINE ORDINAL INDICATOR U+2018 LEFT SINGLE QUOTATION MARK U+2019 RIGHT SINGLE QUOTATION MARK U+201A SINGLE LOW-9 QUOTATION MARK U+201B SINGLE HIGH-REVERSED-9 QUOTATION MARK U+201C LEFT DOUBLE QUOTATION MARK U+201D RIGHT DOUBLE QUOTATION MARK U+201E DOUBLE LOW-9 QUOTATION MARK U+201F DOUBLE HIGH-REVERSED-9 QUOTATION MARK U+2032 PRIME U+2033 DOUBLE PRIME U+2034 TRIPLE PRIME U+2035 REVERSED PRIME U+2036 REVERSED DOUBLE PRIME U+2037 REVERSED TRIPLE PRIME U+2057 QUADRUPLE PRIME
Attachments
Frédéric Wang (:fredw)
Comment 1 2018-01-18 22:53:36 PST
This is done by enabling the 'ssty' OpenType feature. See https://gitlab.com/mathml/MathMLinHTML5/issues/2 ( for http://mathml-association.org/MathMLinHTML5/ ).
Minsheng Liu
Comment 2 2018-01-19 06:51:02 PST
(In reply to Frédéric Wang (:fredw) from comment #1) > This is done by enabling the 'ssty' OpenType feature. See > https://gitlab.com/mathml/MathMLinHTML5/issues/2 ( for > http://mathml-association.org/MathMLinHTML5/ ). Thanks for the info. It seems big and involves area that I am not familiar with yet. I will work on this after other currently open bugs are resolved.
Note You need to log in before you can comment on or make changes to this bug.