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

Implement math-mode text for Windows #11

Open
freakboy3742 opened this issue May 23, 2020 · 0 comments
Open

Implement math-mode text for Windows #11

freakboy3742 opened this issue May 23, 2020 · 0 comments
Labels
bug A crash or error in behavior.

Comments

@freakboy3742
Copy link
Member

matplotlib uses 2 strategies for rendering text: a simple text render, and an outline-based render that is used when the text contains math/TeX expressions.

The Windows canvas backend currently can't render those math expressions. As a workaround, toga-chart does a naive stripping of math expressions, and renders them with the simple text renderer.

The fix for this will almost certainly be on the Toga canvas side; However, the workaround in toga-chart will need to be removed to test any potential fix (and, once it is fixed, be removed permanently).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A crash or error in behavior.
Projects
None yet
Development

No branches or pull requests

1 participant