Jump to content

Can i use unicode character in WidgetLabel?


photo

Recommended Posts

thanks to fast response.

 

i changed ttf font. (console.ttf, font.ttf)

 

but it affect to only console.

 

GUI doesn't affected.

 

and i attached some screenshot and font files.

 

 

--------------------------------------------------------------------

this is my script.

//////////////////////////////////////////////////////////////////////////

// UI ScrollBox

WidgetWindow scrollWindow;

scrollWindow = new WidgetWindow(gui, "ScrollWindow");

scroll = new WidgetScrollBox(gui);

scroll.setWidth(100);

scroll.setHeight(256);

scroll.setHScrollEnabled(0);

for(int i=0;i<30;i++)

{

WidgetLabel label = new WidgetLabel(gui,format("하하 %d",scroll.getNumChilds()));

scroll.addChild(label);

}

scrollWindow.addChild(scroll,GUI_ALIGN_EXPAND);

scrollWindow.arrange();

scrollWindow.setSizeable(1);

gui.addChild(scrollWindow, GUI_ALIGN_OVERLAP | GUI_ALIGN_CENTER);

scrollWindow.setPosition(1000, 150);

//////////////////////////////////////////////////////////////////////////

post-407-0-55344200-1316505579_thumb.png

post-407-0-69794200-1316505587_thumb.png

post-407-0-82140900-1316505593_thumb.png

NanumGothic(Korea_font).zip

Link to comment
×
×
  • Create New...