Font of geologist messages not correctly handled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
Hello, I'm now working on Japanese translation of Widelands.
I found a bug about the font handling in geologist message.
In the attached screenshot, coal resource message is broken,
although the title is shown correctly in the message list
above.
Other messages can be displayed correctly.
For example, sentry and headquarter messages listed in the
screenshot can be shown nicely in Japanese. As far as I know,
only the geologist messages are affected.
If I change the default font setting in data/i18n/fonts.lua
(change font of sans, sans-bold, sans-italic etc. in default
section to MicroHei, which includes Japanese), those
geologist messages can be shown in Japanese. So I consider
there is a problem in font selection in geologist messages.
Some other languages will be affected by this issue.
Please fix this...
Widelands version: bzr8654
Platform: Debian testing
Related branches
- Widelands Developers: Pending requested
-
Diff: 77 lines (+11/-8)4 files modifiedsrc/graphic/text_layout.cc (+1/-1)
src/logic/cmd_luacoroutine.cc (+1/-3)
src/logic/map_objects/tribes/worker.cc (+6/-3)
src/wui/game_message_menu.cc (+3/-1)
Thanks for reporting. We need to fix this for Build 20.