Code: Select all
CEGUI::Font* smallfont = CEGUI::FontManager::getSingleton().createFont("mySmallFont", "/fonts/tahoma.ttf", 10, 0);
smallfont->setAutoScalingEnabled(true);
smallfont->setNativeResolution(Size(800, 600));
You can then set this font as the default font like this:
Code: Select all
System::getSingleton().setDefaultFont("mySmallFont");
Or just set individual widgets to use this font:
Code: Select all
myWidget->setFont("mySmallFont");
Hope that helps, sorry if I didnt understand your question.