Skip to content

[Issue 653] Accurate Text Measurements #657

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

Merged
merged 4 commits into from
Aug 15, 2022
Merged

[Issue 653] Accurate Text Measurements #657

merged 4 commits into from
Aug 15, 2022

Conversation

jonobr1
Copy link
Owner

@jonobr1 jonobr1 commented Aug 15, 2022

Part of looking into Issue 653 resulted in seeing that the text bounding box calculations were very inaccurate. Today, there is one browser API that is available widely that more accurately measures text width and height, known as Text Metrics. This PR implements that and updates the tests to match.

@jonobr1 jonobr1 merged commit 88c6881 into dev Aug 15, 2022
@jonobr1 jonobr1 deleted the issue-653-text-measure branch August 15, 2022 20:11
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

Successfully merging this pull request may close these issues.

1 participant