Text can overlap previous line

Bug #323452 reported by dlh
2
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.

Revision history for this message
dlh (dlh) wrote :
Revision history for this message
wrtlprnft (wrtlprnft) wrote :

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.

Changed in armagetronad:
assignee: nobody → wrtlprnft
status: New → Fix Committed
dlh (dlh)
Changed in armagetronad:
milestone: none → 0.3.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.