You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.
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
Thanks for the report, @ajstarks. At first glance, it looks like this line is the culprit -- the number of character widths is hard-coded to 65536. I think I'll need to dynamically extend this slice as needed.
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.
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.
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: