2014-04-25 19:17:16 |
Hans Joachim Desserud |
description |
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 |
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/ja.po as follows, for the string:
"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."
add the translation:
msgstr "各プレイヤー(チーム)は、マップ面積の半分以上を獲得しようとします。勝者は、少なくとも20分間その面積を維持したプレイヤー(チーム)です。"
2) Run ./update.sh or otherwise generate new translations (make lang).
3) Go to Options and set language to Japanese.
4) Click SinglePlayer Menu > New Game > Select a map > Type of game.
5) 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 |
|