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

Not accurate with uppercase #24

Open
lsan75 opened this issue Jan 11, 2020 · 1 comment
Open

Not accurate with uppercase #24

lsan75 opened this issue Jan 11, 2020 · 1 comment

Comments

@lsan75
Copy link

lsan75 commented Jan 11, 2020

When applying a textTransform uppercase to the Text style, the measures (width & lastLineWidth) are not accurate.

@gaudecker
Copy link

This can be avoided by calling toUpperCase() on your text before measuring. Not a real fix, but might help someone 👍

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