This repository has been archived by the owner on Nov 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 786
generateCIDFontMap panic on loading fonts with glyphs indexed at high numbers #255
Labels
Comments
Unfortunately, the problem goes deeper than just the size of the character width slice. When I increased the allocated size for testing purposes, the glyph table program did not crash but the characters did not render properly. |
Any update on this issue? |
@DarkFreedman -- what would be involved in supporting more than 64K glyphs in a Unicode font? |
When do you implement this issue? |
There is a lot of utf-8 code that depends on two-byte runes. Fixing this will be a substantial undertaking. Any help in this regard will be appreciated. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using the Symbola font (which contains 10744 glyphs -- see: http://users.teilar.gr/~g1951d/)
when trying to index into the emoji range 0x1f600 - 0x1f64f, generateCIDFontMap crashes
with index out of range. Using a smaller range with the same font works fine
The text was updated successfully, but these errors were encountered: