d2gl
d2gl copied to clipboard
Regression in commit 6ffe8f3f69d130760ca4746e1bfa8b13bd7aaafa
Commit 6ffe8f3f69d130760ca4746e1bfa8b13bd7aaafa introduces a crash when encountering certain erratic monster names in a non-English (Chinese) locale.
After adding some traces, it appears that the length of the monster name exceeds 50 characters.
However, even after enlarging name_str to 128 characters, the crash persists due to illegal Unicode characters in the data contained within d2::hovered_monster_name.
Edit: After switching to non-HD font, the monster name is shown correctly.