Skip to content

bugfix: Add workaround to other instances where the buggy pango <sup>… - #1049

Merged
highperformancecoder merged 1 commit into
masterfrom
bugfix-787-exponent-out-of-whack
Nov 20, 2026
Merged

highperformancecoder merged 1 commit into
masterfrom
bugfix-787-exponent-out-of-whack

Conversation

@highperformancecoder

@highperformancecoder highperformancecoder commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

… tag is used


This change is Reviewable

Copilot AI balanced review requested due to automatic review settings November 19, 2026 23:38
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3e46f17 and 2520cb9.

Files selected for processing: 4

  • engine/equationDisplayRender.cc
  • engine/latexMarkup.cc
  • engine/variableValue.cc
  • test/testLatexToPango.cc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Approval is blocked by two unresolved critical issues: the changed glyph geometry lacks updated SVG fixtures, and the markup change can alter canonical variable IDs and break existing references or persisted models.

2 open issues

Review effort: Lite

Comment thread engine/equationDisplayRender.cc Resolved
Comment thread engine/latexMarkup.cc
Comment on lines +734 to +735
if (x=="sup") return "<span size=\"smaller\" rise=\"5000\">";
if (x=="sub") return "<span size=\"smaller\" rise=\"-2000\">";

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Canonical ids are only used for the Minsky::variableValue keys. I don't see them used elsewhere. The main purpose is to correctly identify the name strings x_1 with x_{1}, and to not identify x_10 and x_{10}. But schemas only store the LaTeX encoded name strings.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot - see above reponse

@highperformancecoder
highperformancecoder merged commit b3e2b91 into master Nov 20, 2026
9 checks passed
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