Text can overlap previous line

Bug #323452 reported by dlh on 2009-01-31
Affects Status Importance Assigned to Milestone
Armagetron Advanced

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

dlh (dlh) wrote :
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) on 2009-02-01
Changed in armagetronad:
milestone: none → 0.3.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers