Page 1 of 1

[SOLVED] CELayoutEditor Error

Posted: Sat Feb 23, 2008 23:33
by BigB
Hi,

I'm new to CEGui and also to CELayout Editor.
When i try to open existing guis or create new ones, i get this error :

PropertyGrid::FindAvailableFonts - Serious problems while allocating 0 strings.


In my CELayoutEditor.ini , i have the fonts pointing to the ogre fonts :

ConfigsPath=C:\Program Files\CELayoutEditor 0.5\datafiles\configs\
FontsPath=D:\ogreSDK\media\fonts\
ImagesetsPath=C:\Program Files\CELayoutEditor 0.5\datafiles\imagesets\
LookNFeelsPath=C:\Program Files\CELayoutEditor 0.5\datafiles\looknfeel\

I can create buttons\windows,etc, everything but i don't see any text.
And when i select a window or any other object, the message window complaining about the Font shows up again.

How can i fix this ?
thanks,
Bruno

Posted: Sun Feb 24, 2008 10:22
by scriptkid
Hi and welcome,

it seems that there are no (cegui) fonts in your FontsPath directory. Can you check your cegui.log file for this line:

"Warning: no fonts were found. Loading of layouts will most likely fail now."

In that case, make sure that your directory contains .font files, which are cegui's xml format to define fonts.

After typing the above, i checked my own Ogre directory. Media/fonts does not contain any cegui fonts, only ogre fonts. Can you change it to this for example:

C:\Program Files\CELayoutEditor 0.5\datafiles\fonts\

HTH!

Posted: Sun Feb 24, 2008 11:56
by BigB
Hi scripkid

Thanks, that is the problem it seems.
I checked the cegui.log and there's indeed that error message.

Where can i find (cegui) fonts then ?
I can change the font folder, but i need font files inside it.

thanks again,
Bruno

Posted: Sun Feb 24, 2008 22:02
by scriptkid
Hi,

okay, we're getting there. If you also have a Cegui installation, you can find files in 'Samples/Datafiles/fonts'. You have appearantly set directories for config, looknfeel and imagesets. Are those empty too? If not, then fonts can be found at the same level.

Good luck.