pedrohas2000 / pingus

Automatically exported from code.google.com/p/pingus
GNU General Public License v3.0
0 stars 0 forks source link

Text overflows in many places, especially in translations #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Text currently overflows in a lot of places, especially when dealing with 
translations. This problem is caused by a too simplistic text rendering systems 
that can't properly deal with dynamic line breaking and can't scale text.

Suggestion on how to fix the issue:

* for one-line-text do not render text directly, but render it to a Surface, 
then scale that Surface to fit into a given max-width

* for multiline text, use wordwarp, if possible also allow scrolling of text 
that is to long

* as preparation for all of this text should be done with proper 
GUI::Components, not low level gc.print_center() hacks

Original issue reported on code.google.com by grum...@gmail.com on 3 Oct 2011 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by grum...@gmail.com on 14 Oct 2011 at 2:17