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

min/max width and stretchy operators #96

Closed
fred-wang opened this issue Jun 4, 2019 · 1 comment
Closed

min/max width and stretchy operators #96

fred-wang opened this issue Jun 4, 2019 · 1 comment
Labels
MathML Core Issues affecting the MathML Core specification opentype / tex Issues related to OpenType or TeX rules

Comments

@fred-wang
Copy link

Just converting content from the OpenType appendix:

The OpenType MATH specification does not seem to take into account linebreaking. As explained in section 3.1.2 it is important in a HTML5 context to be able to determine the min-content width and the max-content width. However when an operator is stretched vertically to cover a target size, it is not possible to know the selected size variant or glyph assembly without knowing the target size and so the min-content and max-content widths can only be approximated. In practice, the width of the vertical operators is almost independent on its stretch size. Should that be a requirement of the OpenType MATH specification?

@fred-wang fred-wang added MathML Core Issues affecting the MathML Core specification opentype / tex Issues related to OpenType or TeX rules labels Jun 4, 2019
@fred-wang
Copy link
Author

I think math font designers really want to have different width for different sizes, so it probably does not make sense to have such a restriction. Instead we should ensure to probably handle this min/max calculation in the spec. We currently do that, the only remaining thing I'd like to fix is w3c/mathml-core#123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MathML Core Issues affecting the MathML Core specification opentype / tex Issues related to OpenType or TeX rules
Projects
None yet
Development

No branches or pull requests

1 participant