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
I tested with libass which use freetype and it can correctly decode the cmap. GDI and DirectWrite also decode it correctly.
Why fonttools should reject it?
moi15moi
added a commit
to moi15moi/FontCollector
that referenced
this issue
Aug 15, 2023
When I am trying to get an font cmap, I get an exception
You can download the font here: DFHSMincho-W9__DFPHSMincho-W9__DFGHSMincho-W9.zip
Sample
Which raise this exception:
Why is it happening?
What can I do to avoid it.
Possible solution (line 923 of
fontTools\ttLib\tables\_c_m_a_p.py
) - Add an verification if the index is part of the glyphIndexArray:The text was updated successfully, but these errors were encountered: