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

Special characters are unsupported #7

Closed
creativecreatorormaybenot opened this issue Aug 27, 2020 · 4 comments
Closed

Special characters are unsupported #7

creativecreatorormaybenot opened this issue Aug 27, 2020 · 4 comments

Comments

@creativecreatorormaybenot
Copy link
Contributor

If you try to use special characters like ä or Ö in a FlutterMath widget, it will not work.

It seems like the KaTeX fonts need to support that as it works in KaTeX. What do you think @znjameswu 😃

@znjameswu
Copy link
Owner

Yes, I'm planning to support that. I'll work on it in next release.

@znjameswu
Copy link
Owner

Support for unicode accents is added in v0.1.8. Welcome to check out the online demo!

@znjameswu
Copy link
Owner

znjameswu commented Sep 4, 2020

But one thing needs to mention is that i,j-based unicode accent looks very unnatural (e.g. ). This is inherited from KaTeX (see flutter_tex's output) and MathJaX does this job even worse. If you have any idea to fix this, please let me know.

@creativecreatorormaybenot
Copy link
Contributor Author

@znjameswu Very awesome!

No, I have no idea. However, after looking into it, I think that it is not too bad. I mean the characters do look unnatural as you said, but they still fit into the rendered output generally. Before the change, they would not even have the correct metrics, so it is a huge improvement 🚀

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

2 participants