-
-
Notifications
You must be signed in to change notification settings - Fork 844
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
[Bug]: ICU Layouter crash #10790
Comments
My immediate thought is there a long string (MD5Sum!) that doesn't have any place to wrap, but that might just be coincidence. |
It happens during the drawing of MD5sum, yes. But it seems the reason why is because I kinda misunderstood how harfbuzz returns clusters. I expected the first char to be in the first cluster, but this doesn't always seems to be the case. Need to look a bit deeper what is actually going on here. |
Version of OpenTTD
git master 878c5d8
Expected result
No crash :-)
Actual result
openttd: ../src/gfx_layout_icu.cpp:498: virtual std::unique_ptr<const ICUParagraphLayout::Line> ICUParagraphLayout::NextLine(int): Assertion `run.length > new_partial_length' failed.
Steps to reproduce
The text was updated successfully, but these errors were encountered: