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

Handle fonts with Unicode full repertoire (U+10000 to U+10FFFF) #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romaincazier
Copy link

When using the library to output fonts’ character set, I noticed some were missing characters (when compared with opentypejs’ output) because of glyphs being part of the Unicode full repertoire (U+10000 to U+10FFFF).

This commit updates getUnicodeCharMap() to check the cmap subtables in reverse so the Unicode full repertoire Encoding ID comes first.

@bsweeney bsweeney added this to the 1.1.0 milestone Mar 15, 2024
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.

2 participants