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

support latin-1 and geometric shape unicode chars #2100

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

alixander
Copy link
Collaborator

@alixander alixander commented Sep 16, 2024

closes #1811

Latin-1 and geometric shape unicode chars supported by the loaded font are measured correctly now. In the below example, the unicode for the bullseye is not supported for Source Sans Pro, so is still measured incorrectly. However, the coverage is much better

Screenshot 2024-09-16 at 10 27 24 AM

Note that it's possible to extend this further to all unicode chars, but it reduces performance by a lot (runtime of all tests went from 46s to 112s) for very little gain.

@alixander alixander changed the title support unicode chars support latin-1 and geometric shape unicode chars Sep 16, 2024
@alixander alixander merged commit e7896e7 into terrastruct:master Sep 16, 2024
3 checks passed
@alixander alixander deleted the extended-ascii branch September 16, 2024 16:49
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.

Certain characters breaking display
1 participant