Skip to content

fix(Android、pdf): formula clipped#98

Merged
erweixin merged 2 commits into
mainfrom
fix-totalheight
May 28, 2026
Merged

fix(Android、pdf): formula clipped#98
erweixin merged 2 commits into
mainfrom
fix-totalheight

Conversation

@erweixin
Copy link
Copy Markdown
Owner

@erweixin erweixin commented May 28, 2026

fix: #97

erweixin added 2 commits May 28, 2026 12:38
- Introduced glyphBottomBleedPx to account for antialiased fringe in depth calculations.
- Updated totalHeightPx and totalDepthPx to reflect new rendering logic.
- Adjusted RaTeXSpan and RaTeXView to utilize totalDepthPx for accurate size measurements.
- Ensured consistent use of ceil for pixel dimensions to prevent rendering issues.
@erweixin erweixin merged commit 5361da0 into main May 28, 2026
4 checks passed
@erweixin erweixin deleted the fix-totalheight branch June 2, 2026 09:44
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.

Android: Bottom of formula clipped when most bottom glyphs have zero TeX depth

1 participant