[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] Issue 82 in pingus: Text overflows in many places, especial
From: |
pingus |
Subject: |
[Pingus-CVS] Issue 82 in pingus: Text overflows in many places, especially in translations |
Date: |
Mon, 03 Oct 2011 11:49:01 +0000 |
Status: Accepted
Owner: address@hidden
Labels: Type-Defect Priority-Medium Component-UI Component-Engine
New issue 82 by address@hidden: Text overflows in many places,
especially in translations
http://code.google.com/p/pingus/issues/detail?id=82
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
- [Pingus-CVS] Issue 82 in pingus: Text overflows in many places, especially in translations,
pingus <=