huaner
10-07-2007 04:18:21
hello,
if i want to rectify the type of font, there is a API or other ways?
thanks
kungfoomasta
10-07-2007 05:00:09
look for a setFont or setDefaultFont function.
huaner
18-07-2007 08:05:12
look for a setFont or setDefaultFont function. 
i try it. eg, mSheet->setFont("bluebold.ttf");
but, there is no difference.
aslo, if i want to change to chinese type, it's only use this function?
kungfoomasta
18-07-2007 08:30:47
If I remember correctly, setting the font property of a sheet sets the Default font. All widgets created from this point on, without any font specified, will use "bluebold.ttf".
If you want to change the font of a widget, you should be able to call mWidget->setFont(...); Changes will only be noticeable on widgets that use text.