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

Document the character encodings in the hershey fonts, or add UTF8 support? #69

Open
EternityForest opened this issue Apr 21, 2022 · 0 comments

Comments

@EternityForest
Copy link
Contributor

It would be awesome to have true i8n support, but I'm not sure how the encodings work or how one would go about converting a unicode string into them.

Perhaps they could have a documentation link, or, maybe even better yet, the fonts could have a character map?

Seems like the layout doesn't quite follow the ordering Unicode uses, but most blocks seem to be less than 256 chars, so it should be possible to translate codepoints to whatever special thing this uses just by offsetting and doing an array lookup.

It wouldn't give you LTR support, but it would make symbols and RTL languages easier.

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

1 participant