Text can overlap previous line
Bug #323452 reported by
dlh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Armagetron Advanced |
Fix Committed
|
Undecided
|
wrtlprnft |
Bug Description
Steps to reproduce:
1. Enter game, and bring up chat and say something. For example: “just testing”.
2. Bring up chat again and say: “0x000000ÅÅÅÅÅÅ
The last line will have a white background that overlaps the previous chatline. See attached screenshot.
Related branches
Changed in armagetronad: | |
milestone: | none → 0.3.2 |
To post a comment you must log in.
I changed the rendering code to use FTFont::LineHeight as a scale factor (instead of FONT_ZIZE_FACTOR), so this overlapping shouldn't happen anymore.
On dlh's request I added a new setting, LINE_HEIGHT, that lets you customize the font size (though if you enlarge it you might get overlapping again, of course).
I also removed some autogenerated characters off the default font that had huge descenders, so it should not render too small even if you don't screw around with LINE_HEIGHT.