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

Ascent of sum is wrong #161

Open
karino2 opened this issue Sep 21, 2019 · 1 comment
Open

Ascent of sum is wrong #161

karino2 opened this issue Sep 21, 2019 · 1 comment

Comments

@karino2
Copy link
Owner

karino2 commented Sep 21, 2019

For below expression, the ascent becomes to upper.

\sum^N_{k=1} k

sum_ascent

@karino2
Copy link
Owner Author

karino2 commented Sep 21, 2019

Add workaround code to enlarge descent when y of first VListRow is negative.
This hide other bug (bounding box of frac seems too small) and we should fix correctly in the future.

karino2 added a commit that referenced this issue Sep 21, 2019
Change ascent calculation drasticaly. Now ascent is calculated based on the height of firstListRow bounding box.
Also fix debug bounding box rendering.
These change fixes #134 by side effect.
Also, this change contains workaround of #161.

Previous virtual height based rending was wrong because font metrics related calculation is based on real height.
So now just put real height to baseSize and keep ratio 1.0 for drawRenderNodes.
I'll remove ratio in the next change.
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

No branches or pull requests

1 participant