solarus : v1.2
zsdx: v1.8
os : debian wheezy
As shown in the figure
(http://g.hiphotos.bdimg.com/album/s%3D550%3Bq%3D90%3Bc%3Dxiangce%2C100%2C100/sign=ea30741b58b5c9ea66f303e6e502c73d/023b5bb5c9ea15cee878a219b5003af33a87b208.jpg?referer=e7aa561fbb0e7bec7acd36d1fe06&x=.jpg)
the bottom buttons lost their caption.
when switching to French, all things looks nice.
(http://h.hiphotos.bdimg.com/album/s%3D550%3Bq%3D90%3Bc%3Dxiangce%2C100%2C100/sign=40cae6afa3ec08fa220013a269d54c50/908fa0ec08fa513d915e2ece3e6d55fbb2fbd92e.jpg?referer=b4f22c95caea15ce18f9d43927e4&x=.jpg)
by tracing the script, text has already assigned to drawable object, and could be accessed by get_text() method except for drawing to surface.
Hi,
Ok, I will check this problem for the next bug-fix release.
I've figured out the problem. The font of bottom button was not been set properly.
in data/menus/savegames.lua, function savegame_menu:on_started(), set font property when creating option1_text and optino2_text will fix the problem.
-- self.option1_text = sol.text_surface.create()
self.option1_text = sol.text_surface.create{
font = sol.language.get_menu_font(),
}
-- self.option2_text = sol.text_surface.create()
self.option2_text = sol.text_surface.create{
font = sol.language.get_menu_font(),
}
(http://d.hiphotos.bdimg.com/album/s%3D550%3Bq%3D90%3Bc%3Dxiangce%2C100%2C100/sign=56a527e1a486c9170c03523cf90601f2/d0c8a786c9177f3ea4663f1473cf3bc79f3d565d.jpg?referer=5444222e36fae6cd55a39e519233&x=.jpg)
Fixed in 1.4.