bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] FTGL


From: Jon Kinsey
Subject: Re: [Bug-gnubg] FTGL
Date: Sun, 18 Sep 2005 09:28:24 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7

Jon Kinsey wrote:
> I've managed to get things to go wrong with mingw here (no numbers on
> the cube and the point numbers are spaced incorrectly).  I'll take a
> look at this over the weekend.

I've had a look and the problem is not obviously with FTGL, it could be
freetype or the way FTGL uses freetype.  So check if you can get a newer
version of freetype 2, to see if this helps.

On my mingw system it breaks when more than 2 fonts are used in FTGL.  I
use 4 in gnubg, I've added a hack to lower the fonts down to 2, just add:

#define FTGL_BROKEN 1

to config.h or the top of font3d.cpp.  This should display all the
numbers but they will be aliased (jagged).

Interestingly it runs ok in gdb, if you can, try rebuilding with debug
symbols and running in the debugger to see if it works like this - not
sure what this will prove...

As an aside:

Øystein Johansen wrote:
>
> Another thing: The cube numbers look really nice, but the resignation
> flag numbers are not antianialised.

Not sure why I didn't do this.  I've just added the code to make the
flag numbers look nice, I'll blame you if this breaks anything :-)

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]