Richtext should have linebreaks after -

Bug #1789899 reported by Benedikt Straub
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Medium
Unassigned

Bug Description

Long building names can be a UI issue if many buildings of the type are built closely. Attached is an example with the frisian honey bread bakery in the Plattdüütsch translation ("Hönnigbrood-Backeree").
A solution for this case would be to permit line breaks in the census strings not only after whitespaces but also after '-' characters.

Revision history for this message
Benedikt Straub (nordfriese) wrote :
Revision history for this message
GunChleoc (gunchleoc) wrote :

The solution is to permit linebreaks at - in any string, unless the element before the - is too short - let's say 3 letters minimum?

This needs to be implemented into the font renderer.

Changed in widelands:
milestone: none → build21-rc1
status: New → Confirmed
summary: - Census should have linebreaks after -
+ Richtext should have linebreaks after -
Changed in widelands:
importance: Undecided → Medium
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → Won't Fix
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.