Page 1 of 1

CELayoutEditor 0.7.1 with pixmap font

Posted: Wed Jan 13, 2010 16:53
by hermit purple
I'm having some strange issue with the new editor.

Using the binary release, I added FairChar-30 font to the datafile and test it out. After I created a button and tried to set the text in Main Dialog, as I typed in letters, the editor crash, there is no error on screen or in the log file. The log file just says inputing character at the end ('Text' set to 'JI').

Then I made my own build of the editor and tried to trace the error. It seems to crash in PixmapFont::updateFont(). d_glyphImages->d_images have corrupted data. It used to have proper data when the editor loaded up, but somewhere down the line it got corrupted and I think that's what cause the crash. Now, it may be that my own editor build is not made properly but in any case there seems to be some memory corruption happening.

Re: CELayoutEditor 0.7.1 with pixmap font

Posted: Thu Jan 14, 2010 08:14
by scriptkid
Hi,

Thanks for reporting this! I've made a ticket: http://www.cegui.org.uk/mantis/view.php?id=327
and will check it out over the weekend.