Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Problem with Japanese font on WME Lite  (Read 4524 times)

0 Members and 1 Guest are viewing this topic.

Atelier Sentô

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
    • View Profile
    • Atelier Sentô
Problem with Japanese font on WME Lite
« on: February 06, 2015, 03:15:45 PM »

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
  1. on "LeftClick"
  2. {
  3. Game.TextEncoding = 1; //Switch the game to UTF8
  4. Game.LoadStringTable("string_jp.tab", true);
  5. }

The font I use is Arial and the settings are:
Code: WME Script
  1. TTFONT
  2. {
  3.   SIZE = 30 
  4.   FACE = "Arial"
  5.   FILENAME = "fonts\arial.ttf"
  6.  
  7.   BOLD = FALSE
  8.   ITALIC = FALSE
  9.   UNDERLINE = FALSE
  10.   STRIKE = FALSE
  11.  
  12.   CHARSET = 11
  13.  
  14.   COLOR { 0, 0, 0 }
  15.   ALPHA = 255
  16.  
  17.   LAYER
  18.   {
  19.     OFFSET_X = -3
  20.     OFFSET_Y = 3
  21.     COLOR { 0, 0, 0 }
  22.     ALPHA = 255
  23.   }
  24.  
  25.   LAYER
  26.   {
  27.     OFFSET_X = 0
  28.     OFFSET_Y = 0
  29.     COLOR { 255, 255, 255 }
  30.     ALPHA = 255
  31.   }
  32. }

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!
Logged

Atelier Sentô

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
    • View Profile
    • Atelier Sentô
Re: Problem with Japanese font on WME Lite
« Reply #1 on: February 07, 2015, 02:12:54 PM »

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

Page created in 0.035 seconds with 24 queries.