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

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

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

Post 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
Last edited by hey_i_am_real on Mon Nov 19, 2007 12:07 pm, edited 1 time in total.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Ah yes, that's a bug. you can work around it by setting the font before creating the menu.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post 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) ?
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post 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 ...
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

But they were really useful for all of us :)
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post 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
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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.
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post 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 ?
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post 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.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post 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 ?
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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.
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post by hey_i_am_real »

Ok. Thank you Hybrid. :-)

I'll try to follow this way.
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post by hey_i_am_real »

Thank you again Bitplane.
Everything seems to work correctly now.
:-)
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
Post Reply