Solarus Forum

Solarus => Bugs & Feature requests => Topic started by: xavius on May 13, 2014, 02:15:26 am

Title: Porting game data from V1.1 to V1.2 problem.
Post by: xavius on May 13, 2014, 02:15:26 am
Hi, I am trying to port my data from V1.1 to V1.2. I checked the porting guide but there is no mention of this problem.

When I start the game I get:
Fatal: Cannot load font from file 'text/fixed8.fon': Couldn't set font size

There is a fixed8.fon that exist in /text in my data folder after I updated the files with the V1.2 editor. I am not sure of what the problem means. Could it be simply that the engine is trying to find the file in ./text instead of ./data/text?

hank you for your help.

Best regards.
Title: Re: Porting game data from V1.1 to V1.2 problem.
Post by: Christopho on May 13, 2014, 09:24:20 am
Hi,

fixed8.fon is a font that we used in Zelda Mystery of Solarus DX. With SDL 2, there is a bug and for some reason this font cannot be loaded. Its license was unclear anyway so I replaced it by this one (https://github.com/christopho/zsdx/blob/master/data/text/minecraftia.ttf).
You can do the same in your game, or simply remove it if you don't use it.
See this commit (https://github.com/christopho/zsdx/commit/373bcd638921c3b290c158253e59e445b0a07362) to know how to do the change.

I will update the migration guide.
Title: Re: Porting game data from V1.1 to V1.2 problem.
Post by: xavius on May 22, 2014, 04:59:34 am
Ok, nice, thank you!