Skip to content

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
@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