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

new: added TextWidth function that calculate the text width #10

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

sttk
Copy link
Owner

@sttk sttk commented Oct 14, 2023

This PR adds a new function: TextWidth which calculates the width of the specified text taking into account UAX11.

Closes #9

utils.go Outdated Show resolved Hide resolved
@sttk sttk force-pushed the 9-add-func-to-calc-text-width branch from 502fda2 to ee276be Compare October 14, 2023 10:54
@sttk sttk merged commit 062bbb7 into main Oct 14, 2023
12 checks passed
@sttk sttk deleted the 9-add-func-to-calc-text-width branch October 14, 2023 10:59
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.

Add function to calculate the text width taking into account UAX11
1 participant