Skip to content

add table of suggested chars for accents/lines#552

Draft
NSoiffer wants to merge 3 commits into
w3c:mainfrom
NSoiffer:accents-clean
Draft

add table of suggested chars for accents/lines#552
NSoiffer wants to merge 3 commits into
w3c:mainfrom
NSoiffer:accents-clean

Conversation

@NSoiffer
Copy link
Copy Markdown
Contributor

This still needs work/discussion. Implementations are all over the place (or don't work for any character). Not sure what we should do.

@NSoiffer NSoiffer marked this pull request as draft November 13, 2025 08:14
Comment thread src/character-set.html Outdated
proper positioning when used as accents. This section has recommendations
for which characters to use as accents in MathML. It is important to note that
only a limited number of fonts support proper mathematical layout.
Browsers and likely other software currently require the use of fonts with an OpenType MATH
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Browsers and likely other software currently require the use of fonts with an OpenType MATH
Browsers and likely other software currently require the use of fonts with an OpenType MATH
table.

Comment thread src/character-set.html
<td>&#x005F;</td>
<td><math><mover accent="true"><mi>x</mi><mo>&#x005F;</mo></mover></math></td>
<td><math><mover accent="true"><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo stretchy='true'>&#x005F;</mo></mover></math></td>
<td>U+00AF (overline) doesn't stretch in Chrome and displays poorly in Safari. U+0304 and U+0305 don't stretch anywhere</td>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can be making comparative judgements of specific implementations in the spec, I think we should just have a paragraph describing the issue. We can link to appendix B.3 of mathml-core (assuming we land the PR to update that and also, we could link to MathFonts.github.io accents test to tell people to see which characters stretch in current implementations.

@davidcarlisle
Copy link
Copy Markdown
Collaborator

MathML Core B3 has been updated so now isn't totally wrong.

https://w3c.github.io/mathml-core/#combining-character-equivalences

There is more that could be said there but I think we can finalize things in the main spec by referencing that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants