Sp00f
January 26, 2026, 1:31am
1
I’m using Mathjax for my math formulas, but they’re not rendering properly. They look bunched up. This doesn’t happen on the PC version, only on Ankidroid.
Sp00f
January 26, 2026, 10:01am
3
Looks like so. My square root looks weird too. The only difference is that for me, this also happened in the old study screen.
vaibhav
January 26, 2026, 11:48am
4
As I mentioned in that comment, it happens for me in the old study screen too.
In addition to the radical symbol issue that I mentioned there, I also have this issue where the formulas look “bunched up”.
David
January 29, 2026, 12:41am
5
Hi, we’ve had similar issues with MathJax in the past, but from recollection, these were typically issues in the MathJax HTML renderer, rather than with AnkiDroid itself.
Could you submit an issue, including debug info (Settings → About → Copy debug info), and an exported and zipped card which replicates this issue: GitHub · Where software is built
David
September 27, 2026, 3:44pm
7
I’ve submitted a fix for this, this should be in a patch release for 2.25 in the coming weeks.
main ← david-allison:20776
opened 03:43PM - 27 Sep 26 UTC
> [!NOTE]
> Assisted-by: GPT-6
## Purpose / Description
Fixes MathJax font … scaling
## Fixes
* Fixes #20776
## Approach
* `textZoom = 100`
* CSS: `html { zoom: $fontScale }`
## How Has This Been Tested?
Generated by GPT-6: [20776.zip](https://github.com/user-attachments/files/32703584/20776.zip)
> [!IMPORTANT]
> Please review this
<img width="1364" height="669" alt="Screenshot 2026-09-27 at 16 42 17" src="https://github.com/user-attachments/assets/d83c79f6-1d50-49be-b2a1-daea2e2b86dd" />
<img width="1378" height="676" alt="Screenshot 2026-09-27 at 16 42 06" src="https://github.com/user-attachments/assets/2e3204d1-e75f-45ad-af84-08dcea43b80f" />
## Checklist
- [x] You have a descriptive commit message with a short title (first line, max 50 chars).
- [x] You have commented your code, particularly in hard-to-understand areas
- [x] You have performed a self-review of your own code
- [x] UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
- [ ] UI Changes: You have tested your change using the [Google Accessibility Scanner](https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.auditor)
David
October 1, 2026, 12:33am
8
This will be released in 2.25.1, and in 2.26.0alpha2
Google are causing issues with app publishing, so it may take a bit longer than normal. Will be with you hopefully within the next couple of weeks