Hi Julien,
Thanks for your answer. These changes were already in my working copy,
and indeed this works better with them.
I have a number of other encountered issues and some ongoing changes
(mostly dealing with per-label font definition) to share.
Main problems I am currently meeting are:
- different behaviours depending on driver being used (ex: problem
with Agar's window manager regarding maximizing windows, more on that later)
- most widgets seem to permanently redraw themselves, whereas it is
useless most of the time
- build to be fixed so that /usr/lib64 is not placed at beginning
of linking path, shadowing any user-overridden libraries
Thanks,
Best regards,
Olivier.
Le 17/04/2011 03:56, Julien Nadeau a écrit :
Hi Olivier,
Thank you for noticing this, there was a glaring bug in
AG_SetDefaultFont() that prevented proper auto-sizing of widgets
relying on the deafult font size. It has been fixed in SVN. The manual
page has also been corrected.
On Sun, Nov 21, 2010 at 11:13:40PM +0100, Olivier Boudeville wrote:
Hi,
When defining a label, using the default font results in a properly
shaped surface: http://esperide.com/label-with-default-font.png whereas
using another (non-default, TTF) font leads to a truncated surface,
apparently not taking into account the actual size of the text:
http://esperide.com/label-with-ttf.png
Unless there is something specific to be done so that labels are resized
accordingly?
(corresponding minimal test code is attached)
Minor typo: in the doc of AG_FetchFont
(http://libagar.org/mdoc.cgi?man=AG_Text.3#AG_TextInfo), the signature
mentions "points", whereas the text uses "size".
By the way, any answer regarding my preceding mail about going to
fullscreen mode?
Thanks for any hint,
Olivier Boudeville.
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html