Wintermute Engine > WME Lite

Problem with Japanese font on WME Lite

(1/1)

Atelier Sentô:
Hello,

I'm localizing my game into Japanese but I have a problem.

I've created a string_jp.tab for the subtitles and I've encoded it in UTF-8 using Notepad.

This tab is loaded when the player clicks on a little flag which launchs this script:

--- Code: WME Script ---on "LeftClick"{Game.TextEncoding = 1; //Switch the game to UTF8Game.LoadStringTable("string_jp.tab", true);}
The font I use is Arial and the settings are:

--- Code: WME Script ---TTFONT{  SIZE = 30    FACE = "Arial"  FILENAME = "fonts\arial.ttf"   BOLD = FALSE  ITALIC = FALSE  UNDERLINE = FALSE  STRIKE = FALSE   CHARSET = 11   COLOR { 0, 0, 0 }  ALPHA = 255    LAYER  {    OFFSET_X = -3    OFFSET_Y = 3    COLOR { 0, 0, 0 }    ALPHA = 255  }   LAYER  {    OFFSET_X = 0    OFFSET_Y = 0    COLOR { 255, 255, 255 }    ALPHA = 255  }}
When I click "Run game" in WME Project Manager, the subtitles are displayed: there's no problem at all. It works perfect!

But when I try to run the compiled data.dcp in WME Lite, the Japanese subtitles are invisible.
All other languages work fine.

Maybe there is something to know about wme lite when using UTF-8 ?
I did some researchs on the forums but I couldn't solve my problem.

Many thanks for your help!

Atelier Sentô:
I've used a Japanese font instead of Arial and it works fine now.
So my problem is solved!

Navigation

[0] Message Index

Go to full version