hi all,
i wrote a gem patch on linux, that behaves differently on windoze:
it's basically this setup:
|gemhead| | |color| | |text2d|
it seems, that i can't change the settings of the |color| object. especially setting the alpha value doesn't work on windows.
since it's working fine on my linux machine (gem/cvs, nvidia binary driver) i think it's an issue of either the windows driver on the other machine (iirc an ati dualhead card) or an issue of the gem-0.90.1 binary (haven't been able to test the current cvs ... no development environment on that machine).
any ideas?
thanks ... tim
Tim Blechmann wrote:
hi all,
i wrote a gem patch on linux, that behaves differently on windoze:
it's basically this setup:
|gemhead| | |color| | |text2d|
it seems, that i can't change the settings of the |color| object. especially setting the alpha value doesn't work on windows.
well, your patch shouldn't do anything when setting the alpha-value on any machine, since alpha-blending is turned off by default.
apart from that:
since it's working fine on my linux machine (gem/cvs, nvidia binary driver) i think it's an issue of either the windows driver on the other machine (iirc an ati dualhead card) or an issue of the gem-0.90.1 binary (haven't been able to test the current cvs ... no development environment on that machine).
gem-0.90.1 for w32 is build with FTGL support; the changelog of FTGL says (FTGL-1.0b3; August 8 2001) <snip> Pixmap fonts can now be in colour. It uses the current colour when the font is CREATED. This isn't ideal but is better than the alternatives. </snip>
it furthermore says (FTGL-2.1.2; 11 December 2004) <snip> hanged the way the colour is specified for Pixmap fonts. It can now be done per string rather than at start up as previous. </snip>
probably this is related to your problem (i don't remember which FTGL-version is used to link against gem-0.90.1; but according to the date it might well be that i used an earlier version)
mfg.asd.r IOhannes
Tim Blechmann wrote:
hi all,
machine (iirc an ati dualhead card) or an issue of the gem-0.90.1
binary (haven't been able to test the current cvs ... no development
after i recompiled Gem for w32 i am pretty sure, that it is a problem with FTGL (i still use ftgl-2.0.4 on w32 and the only way to make color take effect is to set it _before_ you create (read: load) the font)
i don't have time now to compile against a more recent version of FTGL, but i will try to do so within the next few days.
mfg.ad.r IOhannes