Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - moosewoler

#1
Bugs & Feature requests / Re: Some texts lost
September 06, 2014, 08:03:31 PM
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(),
  }



#2
Bugs & Feature requests / Some texts lost
August 26, 2014, 07:14:53 PM
solarus : v1.2
zsdx: v1.8
os : debian wheezy

As shown in the figure

the bottom buttons lost their caption.

when switching to French, all things looks nice.


by tracing the script, text has already assigned to drawable object, and could be accessed by get_text() method except for drawing to surface.