hi there WM fans! straight to the point, we need our game to support right-to-left languages. and since WM support *.ttf fonts, I created a .*font file using tahoma.ttf like this:
TTFONT
{
SIZE = 12
FACE = "Arial"
FILENAME = "fonts\tahoma.ttf"
BOLD = TRUE
ITALIC = FALSE
UNDERLINE = FALSE
STRIKE = FALSE
CHARSET = 1
COLOR { 0 , 255 , 255 }
ALPHA = 255
LAYER
{
OFFSET_X = 1
OFFSET_Y = 1
COLOR { 0 , 0 , 0 }
ALPHA = 255
}
LAYER
{
OFFSET_X = -1
OFFSET_Y = -1
COLOR { 0 , 0 , 0 }
ALPHA = 255 }
LAYER
{
OFFSET_X = -1
OFFSET_Y = 1
COLOR { 0 , 0 , 0 }
ALPHA = 255
}
LAYER
{
OFFSET_X = 1
OFFSET_Y = -1
COLOR { 0 , 0 , 0 }
ALPHA = 255
}
LAYER
{
OFFSET_X = 0
OFFSET_Y = 0
COLOR { 255 , 0 , 0 }
ALPHA = 255
}
}
in project manager I set this as system font
, and also added line in the game.script like this:
Game.TextRTL = true;
but the the resulting text (for example when actor talks) is just some wonderful string of characters as below :
ÑÇå ãí Ñæã
unfortunately I can't read this language !
any ideas?