Re: [Gambas-user] gb3: changing the active font

2011-11-05 Thread strict . ix
- Original Message - >Nice, that actually works.> > >What's odd is that after some period of time it still halts with the >error "gb.sdl error: Couldn't open >/usr/local/share/gambas3/gb.sdl/DejaVuSans.ttf in Render 834". I checked >the value of Draw.Font after the crash and it report

Re: [Gambas-user] gb3: changing the active font

2011-11-03 Thread Kevin Fishburne
On 11/03/2011 03:21 PM, Laurent Carlier wrote: > Le jeudi 3 novembre 2011 15:06:22, Kevin Fishburne a écrit : >> On 11/03/2011 01:14 AM, Fabien Bodard wrote: >>> Have you tried : >>> >>> Draw.Font = Draw.Font.Load("/home/kevinfishburne/Desktop/Sanctimonia, >>> >>> because draw.font.load normally no

Re: [Gambas-user] gb3: changing the active font

2011-11-03 Thread Laurent Carlier
Le jeudi 3 novembre 2011 15:06:22, Kevin Fishburne a écrit : > On 11/03/2011 01:14 AM, Fabien Bodard wrote: > > Have you tried : > > > > Draw.Font = Draw.Font.Load("/home/kevinfishburne/Desktop/Sanctimonia, > > > > because draw.font.load normally not assignate a font to draw.font but > > just ret

Re: [Gambas-user] gb3: changing the active font

2011-11-03 Thread Kevin Fishburne
On 11/03/2011 01:14 AM, Fabien Bodard wrote: > Have you tried : > > Draw.Font = Draw.Font.Load("/home/kevinfishburne/Desktop/Sanctimonia, > > because draw.font.load normally not assignate a font to draw.font but > just return an object handle to a font object > Nice, that actually works. What's o

Re: [Gambas-user] gb3: changing the active font

2011-11-02 Thread Fabien Bodard
Have you tried : Draw.Font = Draw.Font.Load("/home/kevinfishburne/Desktop/Sanctimonia, because draw.font.load normally not assignate a font to draw.font but just return an object handle to a font object > Server/Images/Font/Avatar.ttf") 2011/11/3 Kevin Fishburne : > On 11/02/2011 02:54 AM, Bru

Re: [Gambas-user] gb3: changing the active font

2011-11-02 Thread Kevin Fishburne
On 11/02/2011 02:54 AM, Bruce Bruen wrote: > On Wed, 2011-11-02 at 01:47 -0400, Kevin Fishburne wrote: > >> I'm using SDL and OpenGL. Normal routines for drawing fonts in a >> DrawingArea work fine; I didn't have to change my code after >> switching >> from GTK/Qt. This code works: >> >> ' Draw

Re: [Gambas-user] gb3: changing the active font

2011-11-01 Thread Bruce Bruen
On Wed, 2011-11-02 at 01:47 -0400, Kevin Fishburne wrote: > I'm using SDL and OpenGL. Normal routines for drawing fonts in a > DrawingArea work fine; I didn't have to change my code after > switching > from GTK/Qt. This code works: > >' Draw dialogue buffer. >Draw.Font.Size = sheight /

Re: [Gambas-user] gb3: changing the active font

2011-11-01 Thread Kevin Fishburne
On 11/02/2011 01:24 AM, Bruce Bruen wrote: > On Wed, 2011-11-02 at 00:47 -0400, Kevin Fishburne wrote: > >> I'm looking through the docs trying to find out how to change the active >> font but am not having much luck. Anyone know how to do it? I can change >> the size and color, but not the font be

Re: [Gambas-user] gb3: changing the active font

2011-11-01 Thread Bruce Bruen
On Wed, 2011-11-02 at 00:47 -0400, Kevin Fishburne wrote: > I'm looking through the docs trying to find out how to change the active > font but am not having much luck. Anyone know how to do it? I can change > the size and color, but not the font being used. > The active font of a what? To se

[Gambas-user] gb3: changing the active font

2011-11-01 Thread Kevin Fishburne
I'm looking through the docs trying to find out how to change the active font but am not having much luck. Anyone know how to do it? I can change the size and color, but not the font being used. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com p