You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Modify reference point for "shape a stretchy glyph" #54
It's used in radical (where the offset is not mentioned but we align the top with the top of the radical bar) and for operator (where adjustment is needed see w3c/mathml#200, so the calculated ascent does not match the stretchy glyph ascent). I think it's easier to reason if the reference point is the top of the operator rather than its baseline.
I removed the reference point when unifying the "shape a stretchy glyph" algorithm (paint + measure). I think the callers need to be adjusted to indicate a translation.
@fred-wang: does this still need to be open? I don't see any mention for radical moving the stretchy radical glyph, but maybe that is built into the MathGlyphConstruction table?
Activity
fred-wang commentedon May 22, 2020
I removed the reference point when unifying the "shape a stretchy glyph" algorithm (paint + measure). I think the callers need to be adjusted to indicate a translation.
NSoiffer commentedon Jun 29, 2021
@fred-wang: does this still need to be open? I don't see any mention for radical moving the stretchy radical glyph, but maybe that is built into the MathGlyphConstruction table?
fred-wang commentedon Jan 18, 2022
I need to review this.