Page 1 of 1

[fixed] Menu items and fonts : is this normal ?

Posted: Thu Nov 15, 2007 9:21 pm
by hey_i_am_real
Hi !

I'm creating a menu, and seems I have a little problem when I use a different font than the default font.
The size of menu items don't change according to the font, and they overlaps.

Is this normal or am I supposed to set some parameters ??? And what are those parameters (tried several things, but failed) ?

Image

Thanks for your help.

PS : I forgot to mention, I'm using the SVN 1055, compiled under Ubuntu Linux 7.10, with an Intel GPU compatible Opengl1.3

Posted: Fri Nov 16, 2007 1:17 am
by bitplane
Ah yes, that's a bug. you can work around it by setting the font before creating the menu.

Posted: Fri Nov 16, 2007 1:27 pm
by hey_i_am_real
Thanks for the tip :)

Do you think I should ignore this bug (will be solved within few weeks), or do you think I should better design my code according to the "workaround" (needs a big and deep redesign) ?

Posted: Fri Nov 16, 2007 9:02 pm
by hey_i_am_real
PS : of course, I could try to debug it myself and submit a patch ... But I remember last year, when I wanted to use Irrlicht, I spent all my free time submitting patches, and finally, I never used the engine ...

Posted: Fri Nov 16, 2007 11:16 pm
by hybrid
But they were really useful for all of us :)

Posted: Sat Nov 17, 2007 4:46 pm
by bitplane
Yes I completely agree, your patches were very useful :)
However, I'll have a look at this now and commit the changes to both branches

Posted: Sat Nov 17, 2007 5:15 pm
by hybrid
Nooooo, please only add them to one branch.
In this case I'd prefer trunk. Because it might brake even more when fixing in 1.4, so people will have to wait until 1.5.

Posted: Sat Nov 17, 2007 6:54 pm
by hey_i_am_real
Hi.

If I spend time providing little patches to add little (but important) missing details to the engine, will someone eventually add them to the engine before next release ?

Posted: Sat Nov 17, 2007 8:08 pm
by bitplane
oops sorry, committed this before reading your post hybrid :oops:

edit:
hey_i_am_real, if the changes are small, easy to understand and relatively important bug fixes, then they stand a good chance of making it into the engine before the 1.4 release. New features and API changes won't make it in though.

Posted: Sun Nov 18, 2007 3:21 pm
by hey_i_am_real
Thanks for this fast debugging, Bitplane.
Unfortunately, I can't try it, because I've upgraded to SVN 1060 and I can't compile it (lots of warning in COpenGLExtensionHandler.h and an error in COpenGLExtensionHandler.cpp).
Maybe it's work in progress, I'll try again later.
if the changes are small, easy to understand and relatively important bug fixes, then they stand a good chance of making it into the engine before the 1.4 release. New features and API changes won't make it in though.
Ok. 1.4 focuses on bug fixes.
Is there an ongoing discussion in the forums about version 1.5 ? (did not found one yet)
Or a thread were efforts from external contributors are centralized and coordinated ?

Posted: Sun Nov 18, 2007 11:12 pm
by hybrid
There is no specific discussion on a 1.5 roadmap. I'll add some information on my plans to the Wiki when I find some time. This might also include some larger feature proposals from the community. All others (mostly minor things which can be assessed and fixed/finished more easily) are usually posted on the forum and discussed (and probably acknowledged for inclusion) in their threads. Adding a patch to the SourceForge patch tracker makes our job much simpler and also makes the features available to others - which also enhances inclusion probabilities.

Posted: Sun Nov 18, 2007 11:26 pm
by hey_i_am_real
Ok. Thank you Hybrid. :-)

I'll try to follow this way.

Posted: Mon Nov 19, 2007 12:06 pm
by hey_i_am_real
Thank you again Bitplane.
Everything seems to work correctly now.
:-)