----- 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 reports the Name property
>as being "DejaVuSans.ttf", even though I've only been setting it to
>"Avatar.ttf". I changed the line to this:
>
>If Draw.Font.Name <> "Avatar.ttf" Then Draw.Font =
>Draw.Font.Load("/home/kevinfishburne/Desktop/Sanctimonia,
>Server/Images/Font/Avatar.ttf")
>
>and it still crashes. Somehow Draw.Font.Name is being reset to
>"DejaVuSans.ttf". I searched the entire project for "Draw.Font" and
>nothing else is modifying it. Sounds like a bug. I'm using revision 4229.
---------------------------------------------
Hmm. I've found that I encounter the same "DejaVuSans.ttf" error even when
trying to simply run the included StarField example. I even looked through
the code and didn't find one reference to 'font' anywhere in the project. I
am just starting out on learning gambas so I wrote it off at first, but after
reading the discussion here I thought I would at least mention my findings.
Hope that it is helpful in some way to track down what is happening.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user