Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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
@bsweeney bsweeney mentioned this pull request Dec 6, 2024
This was linked to issues Dec 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Emoji support Add Emoji support
2 participants