[SOLVED] CELayoutEditor Error

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

BigB
Just popping in
Just popping in
Posts: 2
Joined: Sat Feb 23, 2008 23:21

[SOLVED] CELayoutEditor Error

Postby BigB » Sat Feb 23, 2008 23:33

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

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Sun Feb 24, 2008 10:22

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!
Check out my released snake game using Cegui!

BigB
Just popping in
Just popping in
Posts: 2
Joined: Sat Feb 23, 2008 23:21

Postby BigB » Sun Feb 24, 2008 11:56

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

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Sun Feb 24, 2008 22:02

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.
Check out my released snake game using Cegui!


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 2 guests