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
