Page 1 of 1

The "Font" tag doesn't save.

Posted: Wed Mar 14, 2012 17:18
by kubasz
When I open a layout (CEGUI8), and modify widget's "Font" property value, after I uncheck the widget, and select it again, it resets. I use newest ceed from mercurial (commit 82d277c399bf). And the font I use exists and is added to project, when I add this property by hand in text file, it works.
EDIT:
Now I see, this is a problem with something else. CEED doesn't load CEGUI config files (*.conf, *.cfg, etc.), and it doesn't auto-load all *.font files.

Re: The "Font" tag doesn't save.

Posted: Thu Mar 15, 2012 10:00
by Kulik
CEED loads all schemes it finds. CEGUI stores Font references as pointers and therefore it "won't save" as you describe if the Font isn't loaded at that time.

Apart from schemes the editor isn't loading anything automatically because you can load anything using schemes.

As for the cfg file support, I am all for it but I likely won't implement it myself due to time constraints.