Font builder tool - Asian fonts

Home / Forums / Marmalade Archive / Iw2D / Font builder tool - Asian fonts
1 reply [Last post]
by: Yossarian
Status: Offline
Joined: 2011-03-08
Points: 6020

Hello,

I want to update my game to use the Korean language.

Now, I am hoping all would need to do is the following -

- Load up a Korean font (ttf file) with the font builder tool and export a new game font.
- Convert the game text from English to Korean.
- Create the Korean font in-game using Iw2DCreateFontResource()
- Change the font rendering calls from Iw2DDrawString(const char* string) to
Iw2DDrawString(uint16* string)

Is it really as simple as that?

I tried to load up a Korean font with the Font builder tool but it keeps rendering out the English alphabet characters.

The odd thing is that when I go to select a new font type in the Font builder tool and select 'Malgun gothic' and change the script to 'Hangul' thenI can see the correct Korean characters in the preview window.

If it is not possible to render Asian fonts using the Iw2D system does this mean I will have to use the IwGxFont module instead?

Thanks!

by: Yossarian
Status: Offline
Joined: 2011-03-08
Points: 6020
Update. I have worked out

Update. I have worked out the system for adding asian fonts using the Font builder tool.

Now I just have to see how I can reduce the Korean font tga file from 28meg...

Latest Posts

Latest Comments

Top Contributors

  • Chris D : 27,010
  • MonRoyals : 26,970
  • Salman : 26,720
  • Jez Hammond : 20,130
  • pjan : 11,150
  • gjw : 10,350
  • Paolo Oliverio : 9,640
  • Beaker_2 : 8,390
  • Kite : 8,210
  • bluescrn : 7,810