-
Notifications
You must be signed in to change notification settings - Fork 88
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
save files as unified unicode codepoint #1
Comments
I'm not sure how to do it. We'd need to parse more of the TTF to figure out which codepoint each image represents. |
It looks like the list of chars is contained in the "CMAP table" -- but I haven't found an easy way to read that from Ruby just yet. |
This is now possible to do with the TTFunk gem. See prawnpdf/ttfunk#22 and github/gemoji#63 for examples. |
how is going now? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of numbering the file sequentially, how would I modify this to save the file with the unicode codepoint for each character in the filename?
(I can help do the char->codepoint conversion, but it's unclear to me where in this code the "current character" is represented such that I can convert it. Thanks!)
The text was updated successfully, but these errors were encountered: