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
Memory corruption followed by a crash in Metrics View of compact CID-keyed font #3946
Comments
This CID code is a huge mess. I can't figure out how any of it is supposed to even work. I don't think it's fruitful I spend any more time on debugging this. I think we should acknowledge in documentation how buggy this stuff is and recommend people use third-party tools, such as those by Adobe, to turn CID-keyed fonts into normal GID-keyed fonts, before editing with FontForge. What do you think @frank-trampe ? |
Asan stacktrace
Unrelated ASan stacktrace
|
I guess somewhat related to #1661. If I understand correctly, cid-keyed fonts already use the custom encoding under the hood. When compacting is turned on, it also uses the custom encoding. While there's that So what's happening here is that it |
Video of this crash: https://twitter.com/HW_BEAT_THAT/status/1175290889133944832
Necessary file: U-OTF-ShinGoUpr-Heavy.otf
Reproduction steps:
/numbersign/numbersign/numbersign
Alternate stack trace:
The text was updated successfully, but these errors were encountered: