Skip to content

Modify reference point for "shape a stretchy glyph" #54

Open

Description

@fred-wang

cc @faceless2

https://mathml-refresh.github.io/mathml-core/#dfn-shape-a-stretchy-glyph

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.

Activity

  1. fred-wang commented on May 22, 2020

    @fred-wang
    ContributorAuthor

    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.

  2. NSoiffer commented on Jun 29, 2021

    @NSoiffer
    Contributor

    @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?

  3. transferred this issue fromw3c/mathmlon Jun 29, 2021
  4. fred-wang commented on Jan 18, 2022

    @fred-wang
    ContributorAuthor

    I need to review this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions