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

Font with variable character widths causes animation glitch #114

Open
Frank1234 opened this issue Feb 25, 2020 · 1 comment
Open

Font with variable character widths causes animation glitch #114

Frank1234 opened this issue Feb 25, 2020 · 1 comment

Comments

@Frank1234
Copy link

Frank1234 commented Feb 25, 2020

The animation doesn't look well when I center the carachers horizontally and use a font that has characters with a variable width (not monospace). Clipping occurs when animating from a small with to a large width character and visa versa, and the character that is animating in often doesn't start in the center (so also animates horizontally)

Is there a way to overcome this?

@Frank1234 Frank1234 changed the title Dynamic width characters Font with variable character widths causes animation glitch Feb 25, 2020
@jinatonic
Copy link
Contributor

You can try using setAnimateMeasurementChange. I haven't looked into properly supporting non monospace font so a proper fix might be much more involved.

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