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

Fix glyph assembly data for axisheight5000-verticalarrow14000.woff #22084

Merged
merged 1 commit into from Mar 6, 2020

Conversation

fred-wang
Copy link
Contributor

  • Make full advance of the "bot" match the glyph height (19em).
    instead of the incorrect 1em value.
  • Force min overlap to be 0 and max part overlap to be 1em, so
    that GlyphAssembly is valid per [1] and the engine has
    flexibility to adjust the overlap in order to match the target
    size.

[1] https://mathml-refresh.github.io/mathml-core/#the-glyphassembly-table
"For each GlyphPartRecord in GlyphAssembly.partRecords, the values of GlyphPartRecord.startConnectorLength and GlyphPartRecord.endConnectorLength must be at least omin. Otherwise, it is not possible to satisfy the condition of MathVariant.minConnectorOverlap."

* Make full advance of the "bot" match the glyph height (19em).
  instead of the incorrect 1em value.
* Force min overlap to be 0 and max part overlap to be 1em, so
  that GlyphAssembly is valid per [1] and the engine has
  flexibility to adjust the overlap in order to match the target
  size.

[1] https://mathml-refresh.github.io/mathml-core/#the-glyphassembly-table
"For each GlyphPartRecord in GlyphAssembly.partRecords, the values of GlyphPartRecord.startConnectorLength and GlyphPartRecord.endConnectorLength must be at least omin. Otherwise, it is not possible to satisfy the condition of MathVariant.minConnectorOverlap."
Copy link
Contributor

@rwlbuis rwlbuis left a comment

Choose a reason for hiding this comment

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

LGTM

@fred-wang fred-wang merged commit 73c3225 into master Mar 6, 2020
@fred-wang fred-wang deleted the axisheight-font branch March 6, 2020 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants