-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
[LaTeX Bug] (Not Urgent) Certain glyphs scale wrongly #291
Comments
Yes, I've noticed similar issues as reported by #231. The problem is with the There are two options: implement font parsers for the LaTeX font formats (quite some work), or port the same library for XeTex which has unicode support (quite some work too). Rewriting a formula parser and parsing the GSUB etc tables for fonts would be even more work. I'm happy if you can find a good alternative, but unfortunately I don't have time for such a large project right now. |
Yes, using the system's LaTeX binary will work if you control the target machine. Great to hear you have that option, and you're always welcome to try and submit PRs if you wish! Thank a lot for all the feedback and I hope this library can help you build something useful ;-) |
I am using fyne.io as the renderer, I can't see how anything in my implementation could be influencing the pathing. (It should be noted that this is far better than not rendering at all! Thanks for fixing that part :D )
Here is my implementation:
This works great aside from a few strange rendering bugs:
This formula '\int_{2}^{5} \frac{\sqrt{35x^{15-b^{3}}}}{2}' should look like this (shown in Obsidian (which uses MathJax iirc))
In my program it looks like this:
Other similar issues occur with square roots and parenthesis: (these formulas: "\sqrt{\frac{\sqrt{35x^{15-b^{3}}}}{2}}" and "\left({\frac{\sqrt{35x^{15-b^{3}}}}{2}}\right)^2")
Obsidian:
My program:
Again, if there are other more pressing bugs tackle those first, just wanted to make you aware about this in case it is an easy fix or you are bored and looking for something to do :P
The text was updated successfully, but these errors were encountered: