Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: TextureFont_DrawBillboardText and Unicode  (Read 438 times)
oYo
Community Member
*
Posts: 1


« on: March 13, 2008, 06:10:34 AM »

I can not dysplay Unicode text.

Code:
TVScreen2DText txt = new TVScreen2DText();
int ArialFont = txt.TextureFont_Create("font", "Arial", 18, true, false, false, true);
txt.Action_BeginText();
  txt.TextureFont_DrawBillboardText("Any another language text", x, y, -0.1f, color, ArialFont, 1.2f, 1);
txt.Action_EndText();


bInternational = true
The text is not displayed (I used russian text)
« Last Edit: March 13, 2008, 06:28:57 AM by oYo » Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #1 on: March 13, 2008, 02:09:38 PM »

Yep texture fonts are not unicode compliant.
You must use NormalFont to have unicode support.

However there is no DrawBillboardText for NormalFont.. I will try to add one if it's possible (not 100% sure)
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks