Font rendering bug

Bug #514236 reported by Hexocon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hopper
Fix Released
Low
Unassigned

Bug Description

Shows extra s!s!s after seconds, Dont know how to get this bug.

Revision history for this message
Hexocon (danninl) wrote :
Revision history for this message
Daniel Bell (danielbell) wrote :

This is a bug with font rendering. It doesn't currently remove the previous text - instead just writes on top of it.

If you have some text that is less than what was written before it, there is an issue in which remnants are shown.

Changed in frogger:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Daniel Bell (danielbell) wrote :

i've just committed revision 27 into the legacy which should fix this. Its a very dirty fix (more like a hack) but it should do the trick until I have time to research a better implementation for writing text.

Basically the way text is written to the screen with pygame is that it just writes on top of the surface - and if there is text in that position it just writes over it. As a result if the text that was there before you write is longer than what you currently wish to write, then remnants of the previous text will appear.

The "fix" is that whenever we write text we add a few spaces at the end - hopefully overwriting the remnants.

Changed in frogger:
status: Triaged → Fix Committed
Daniel Bell (danielbell)
summary: - Timer bug
+ Font rendering bug
Daniel Bell (danielbell)
Changed in frogger:
status: Fix Committed → Fix Released
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.