Comment 0 for bug 1311698

Revision history for this message
Midori (midori-tj) wrote :

In warehelp window, sentences have line-break correctly.
In message/story/objectives window, some disappears outside the frame.
In tool tip and loading screen, trying to display more than 20 fullwidth characters in the Japanese font, Widelands crashes or hangs.

Steps to reproduce:
1)Rewrite ./po/win_conditions/jp.po as follows:
"Each player or team tries to obtain more than half of the maps' area. The winner will be the player or the team that is able to keep that area for at least 20 minutes."
"各プレイヤー(チーム)は、マップ面積の半分以上を獲得しようとします。\n勝者は、少なくとも20分間その面積を維持したプレイヤー(チーム)です。"
2)Click SinglePlayer Menu > New Game > Select a map > Type of game.
3)Mouse over on 'Territorial Lord' to show the tool chip.

Then Widelands crashes with error message:
"widelands-build18-src/src/graphic/font_handler1.cc:68] Richtext rendering error: Could not fit a single render node in line. Width of an Element is too small!中止 (コアダンプ)"

Version: build-18(Debug)
Operating system: Ubuntu13.10
Font: DejaVuSerif.ttf
Language: Japanese