[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Really odd thing.
From: David Siebert ####@####.#### Date: 29 Aug 2007 15:03:50 +0100 Message-Id: <46D57CA8.5070204@aretoo.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I can not render text on top of an image. Okay here is the odd thing. I can render the text if it isn't black. Yellow and White work but not black. I am using Freetype1 to render the image. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRtV8qOLnn4qAcbUGAQLRuQf9HfQeyV/8Jo97AMTvL/PX5AUdIKAcS3d3 AZhcpZZ2GaMIIWETVL+ETMlpt5VYMqI8ixKbDgjknAoBwdYqLb95X5y5JfburvwQ 3ft18aAJZ4v0swkNcCtjq5mbUtCeT14UWyzUsWAL9THJRu9E03hXR6RcVh7ECimp x7sGa2RD4VWlm9Py+aITQ5H+w5lxLH0/1WXDQTtbgIbToSzvUPyD1I0mzkUdp8vm SP1TdcSM7qr6VXHRX0P38xWsYHBBK6TXAGbpIoQKpcjVNxZtVynVR+gxNecF2KsK qrkcl4qFynh/xr9Gy4GJoqUpyZAX8/aDVKiDaBhdDUhQCkbVl3rfkQ== =uLDB -----END PGP SIGNATURE----- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: "Greg Haerr" ####@####.#### Date: 29 Aug 2007 20:29:38 +0100 Message-Id: <3e9601c7ea72$e8614a90$0300a8c0@RDP> : I can not render text on top of an image. : Okay here is the odd thing. I can render the text if it isn't black. : Yellow and White work but not black. : I am using Freetype1 to render the image. This is odd, but FT1 uses a GrCopyArea to draw the characters, and in v0.91 and earlier, there was a transparent draw bug with that version. Make sure you're using the CVS version. For a quick workaround, try setting your foreground color to RGB(1,0,0) or something like that. Look at the GrCopyArea code in engine/font_freetype.c. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: David Siebert ####@####.#### Date: 29 Aug 2007 21:30:22 +0100 Message-Id: <46D5D74C.7080004@aretoo.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I tried using MWRBG(1,1,1) and not joy and also MWRGB(16,16,16); and no joy.I guess it will be the CVS version for me. Greg Haerr wrote: > : I can not render text on top of an image. > : Okay here is the odd thing. I can render the text if it isn't black. > : Yellow and White work but not black. > : I am using Freetype1 to render the image. > > This is odd, but FT1 uses a GrCopyArea to draw the > characters, and in v0.91 and earlier, there was a > transparent draw bug with that version. Make sure > you're using the CVS version. For a quick workaround, > try setting your foreground color to RGB(1,0,0) or something > like that. Look at the GrCopyArea code in engine/font_freetype.c. > > Regards, > > Greg > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRtXXTOLnn4qAcbUGAQL3vAgAiHvibNh6wzxk1vmPX2cI6hLR1DxPmOgY 53zOjnYJnUMMfAI4VVKlXo1spwy3JsNU1iBZNSdsza6Yj0YCXnrFEkeuJPq5f7vY SI2U9PJnEcw+ythXZKAE4qtDlI880u05YA26rQ011TCDNMN04hhG6UytyJXCTLAR 5eELTgnFe1wLk2w3i9fSVcR0HF+NAW60C7ND28W2N0KItSLpaet0XIBW09xUMBXH tPDiEDo2JydNF+glVkxjh/YK8A6hXrrXuzN4UWez2011kK0NlWABUje7znRGKlRv RBgHW2XGbg0S7qe9h6hLHxDR8c86g6+p4TsYvgF+Boh67vTJttRwgg== =KXbo -----END PGP SIGNATURE----- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: "Greg Haerr" ####@####.#### Date: 29 Aug 2007 21:45:38 +0100 Message-Id: <3f1401c7ea7d$6f677050$0300a8c0@RDP> : I tried using MWRBG(1,1,1) and not joy and also MWRGB(16,16,16); and no : joy.I guess it will be the CVS version for me. Strange. Make sure that yellow or white works with MWRGB(0,255,255) and MWRGB(255,255,255) so we're debugging the correct problem. Greg : : Greg Haerr wrote: : > : I can not render text on top of an image. : > : Okay here is the odd thing. I can render the text if it isn't black. : > : Yellow and White work but not black. : > : I am using Freetype1 to render the image. : > : > This is odd, but FT1 uses a GrCopyArea to draw the : > characters, and in v0.91 and earlier, there was a : > transparent draw bug with that version. Make sure : > you're using the CVS version. For a quick workaround, : > try setting your foreground color to RGB(1,0,0) or something : > like that. Look at the GrCopyArea code in engine/font_freetype.c. : > : > Regards, : > : > Greg : > : > : > : > : : -----BEGIN PGP SIGNATURE----- : Version: GnuPG v1.2.3-nr1 (Windows XP) : Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org : : iQEVAwUBRtXXTOLnn4qAcbUGAQL3vAgAiHvibNh6wzxk1vmPX2cI6hLR1DxPmOgY : 53zOjnYJnUMMfAI4VVKlXo1spwy3JsNU1iBZNSdsza6Yj0YCXnrFEkeuJPq5f7vY : SI2U9PJnEcw+ythXZKAE4qtDlI880u05YA26rQ011TCDNMN04hhG6UytyJXCTLAR : 5eELTgnFe1wLk2w3i9fSVcR0HF+NAW60C7ND28W2N0KItSLpaet0XIBW09xUMBXH : tPDiEDo2JydNF+glVkxjh/YK8A6hXrrXuzN4UWez2011kK0NlWABUje7znRGKlRv : RBgHW2XGbg0S7qe9h6hLHxDR8c86g6+p4TsYvgF+Boh67vTJttRwgg== : =KXbo : -----END PGP SIGNATURE----- : : --------------------------------------------------------------------- : To unsubscribe, e-mail: ####@####.#### : For additional commands, e-mail: ####@####.#### : : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: David Siebert ####@####.#### Date: 31 Aug 2007 17:05:30 +0100 Message-Id: <46D83C33.6060803@aretoo.com> Okay I got the CVS version and it didn't solve the issue. I can get MWRGB(0,0,50) to render correctly. So it isn't fixed in the CVS version or I made an error installing the CVS version. Hey I am human so it is possible. Also when I downloaded the CVS version and edited the config I didn't see any options in the config to compile it as thread safe and I didn't see any options for anti-aliasing? Thanks for your help. Greg Haerr wrote: > : I tried using MWRBG(1,1,1) and not joy and also MWRGB(16,16,16); and no > : joy.I guess it will be the CVS version for me. > > Strange. Make sure that yellow or white works with MWRGB(0,255,255) > and MWRGB(255,255,255) so we're debugging the correct problem. > > Greg > > > > : > : Greg Haerr wrote: > : > : I can not render text on top of an image. > : > : Okay here is the odd thing. I can render the text if it isn't black. > : > : Yellow and White work but not black. > : > : I am using Freetype1 to render the image. > : > > : > This is odd, but FT1 uses a GrCopyArea to draw the > : > characters, and in v0.91 and earlier, there was a > : > transparent draw bug with that version. Make sure > : > you're using the CVS version. For a quick workaround, > : > try setting your foreground color to RGB(1,0,0) or something > : > like that. Look at the GrCopyArea code in engine/font_freetype.c. > : > > : > Regards, > : > > : > Greg > : > > : > > : > > : > > : > : -----BEGIN PGP SIGNATURE----- > : Version: GnuPG v1.2.3-nr1 (Windows XP) > : Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > : > : iQEVAwUBRtXXTOLnn4qAcbUGAQL3vAgAiHvibNh6wzxk1vmPX2cI6hLR1DxPmOgY > : 53zOjnYJnUMMfAI4VVKlXo1spwy3JsNU1iBZNSdsza6Yj0YCXnrFEkeuJPq5f7vY > : SI2U9PJnEcw+ythXZKAE4qtDlI880u05YA26rQ011TCDNMN04hhG6UytyJXCTLAR > : 5eELTgnFe1wLk2w3i9fSVcR0HF+NAW60C7ND28W2N0KItSLpaet0XIBW09xUMBXH > : tPDiEDo2JydNF+glVkxjh/YK8A6hXrrXuzN4UWez2011kK0NlWABUje7znRGKlRv > : RBgHW2XGbg0S7qe9h6hLHxDR8c86g6+p4TsYvgF+Boh67vTJttRwgg== > : =KXbo > : -----END PGP SIGNATURE----- > : > : --------------------------------------------------------------------- > : To unsubscribe, e-mail: ####@####.#### > : For additional commands, e-mail: ####@####.#### > : > : > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: "Greg Haerr" ####@####.#### Date: 31 Aug 2007 19:59:46 +0100 Message-Id: <013501c7ec00$b8881670$2f01a8c0@HaydenLake> : Okay I got the CVS version and it didn't solve the issue. : I can get MWRGB(0,0,50) to render correctly. : So it isn't fixed in the CVS version Do you have a sample program to show the error? The demo programs display black OK with TT. Is it only when the program displays on top of black or near-black? Please describe exactly the bug where the text doesn't display and I'll get it fixed. At least the RGB 0,0,50 is a workaround for now, right? : Also when I downloaded the CVS version and edited the config I didn't : see any options in the config to compile it as thread safe and I didn't : see any options for anti-aliasing? The THREADSAFE=Y option should still be present, please check that hasn't changed. IIRC the anti alias option may have moved out of the config file and be part of the Freetype default, which is ON. Can you explain in more detail? Regards, Greg : : Thanks for your help. : : Greg Haerr wrote: : > : I tried using MWRBG(1,1,1) and not joy and also MWRGB(16,16,16); and no : > : joy.I guess it will be the CVS version for me. : > : > Strange. Make sure that yellow or white works with MWRGB(0,255,255) : > and MWRGB(255,255,255) so we're debugging the correct problem. : > : > Greg : > : > : > : > : : > : Greg Haerr wrote: : > : > : I can not render text on top of an image. : > : > : Okay here is the odd thing. I can render the text if it isn't black. : > : > : Yellow and White work but not black. : > : > : I am using Freetype1 to render the image. : > : > : > : > This is odd, but FT1 uses a GrCopyArea to draw the : > : > characters, and in v0.91 and earlier, there was a : > : > transparent draw bug with that version. Make sure : > : > you're using the CVS version. For a quick workaround, : > : > try setting your foreground color to RGB(1,0,0) or something : > : > like that. Look at the GrCopyArea code in engine/font_freetype.c. : > : > : > : > Regards, : > : > : > : > Greg : > : > : > : > : > : > : > : > : > : : > : -----BEGIN PGP SIGNATURE----- : > : Version: GnuPG v1.2.3-nr1 (Windows XP) : > : Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org : > : : > : iQEVAwUBRtXXTOLnn4qAcbUGAQL3vAgAiHvibNh6wzxk1vmPX2cI6hLR1DxPmOgY : > : 53zOjnYJnUMMfAI4VVKlXo1spwy3JsNU1iBZNSdsza6Yj0YCXnrFEkeuJPq5f7vY : > : SI2U9PJnEcw+ythXZKAE4qtDlI880u05YA26rQ011TCDNMN04hhG6UytyJXCTLAR : > : 5eELTgnFe1wLk2w3i9fSVcR0HF+NAW60C7ND28W2N0KItSLpaet0XIBW09xUMBXH : > : tPDiEDo2JydNF+glVkxjh/YK8A6hXrrXuzN4UWez2011kK0NlWABUje7znRGKlRv : > : RBgHW2XGbg0S7qe9h6hLHxDR8c86g6+p4TsYvgF+Boh67vTJttRwgg== : > : =KXbo : > : -----END PGP SIGNATURE----- : > : : > : --------------------------------------------------------------------- : > : To unsubscribe, e-mail: ####@####.#### : > : For additional commands, e-mail: ####@####.#### : > : : > : : > : > : : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: David Siebert ####@####.#### Date: 31 Aug 2007 22:01:41 +0100 Message-Id: <46D88191.20205@aretoo.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greg Haerr wrote: > : Okay I got the CVS version and it didn't solve the issue. > : I can get MWRGB(0,0,50) to render correctly. > : So it isn't fixed in the CVS version > > Do you have a sample program to show the error? The > demo programs display black OK with TT. Is it only > when the program displays on top of black or near-black? > Please describe exactly the bug where the text doesn't > display and I'll get it fixed. At least the RGB 0,0,50 > is a workaround for now, right? Yes this is a good workaround for now. I got it down to 0,0,40 and it still worked. I render a simple image in this case it looks like burshed aluminum and then render some text. If the text is too close to black I get nothing. I am recompiling to use Freetype2 to see if that fixes the issue. > > The THREADSAFE=Y option should still be present, please > check that hasn't changed. I didn't see that but will check. It is working fine so I might just be too tired today to read well :) > > IIRC the anti alias option may have moved out of the config > file and be part of the Freetype default, which is ON. > Can you explain in more detail? If it is on then that is good enough for me. I looked good on my screen but I am used to seeing that option in the config. > > > > > : > : Thanks for your help. > : > : Greg Haerr wrote: > : > : I tried using MWRBG(1,1,1) and not joy and also MWRGB(16,16,16); and > no > : > : joy.I guess it will be the CVS version for me. > : > > : > Strange. Make sure that yellow or white works with MWRGB(0,255,255) > : > and MWRGB(255,255,255) so we're debugging the correct problem. > : > > : > Greg > : > > : > > : > > : > : > : > : Greg Haerr wrote: > : > : > : I can not render text on top of an image. > : > : > : Okay here is the odd thing. I can render the text if it isn't > black. > : > : > : Yellow and White work but not black. > : > : > : I am using Freetype1 to render the image. > : > : > > : > : > This is odd, but FT1 uses a GrCopyArea to draw the > : > : > characters, and in v0.91 and earlier, there was a > : > : > transparent draw bug with that version. Make sure > : > : > you're using the CVS version. For a quick workaround, > : > : > try setting your foreground color to RGB(1,0,0) or something > : > : > like that. Look at the GrCopyArea code in engine/font_freetype.c. > : > : > > : > : > Regards, > : > : > > : > : > Greg > : > : > > : > : > > : > : > > : > : > > : > : > : > : -----BEGIN PGP SIGNATURE----- > : > : Version: GnuPG v1.2.3-nr1 (Windows XP) > : > : Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > : > : > : > : iQEVAwUBRtXXTOLnn4qAcbUGAQL3vAgAiHvibNh6wzxk1vmPX2cI6hLR1DxPmOgY > : > : 53zOjnYJnUMMfAI4VVKlXo1spwy3JsNU1iBZNSdsza6Yj0YCXnrFEkeuJPq5f7vY > : > : SI2U9PJnEcw+ythXZKAE4qtDlI880u05YA26rQ011TCDNMN04hhG6UytyJXCTLAR > : > : 5eELTgnFe1wLk2w3i9fSVcR0HF+NAW60C7ND28W2N0KItSLpaet0XIBW09xUMBXH > : > : tPDiEDo2JydNF+glVkxjh/YK8A6hXrrXuzN4UWez2011kK0NlWABUje7znRGKlRv > : > : RBgHW2XGbg0S7qe9h6hLHxDR8c86g6+p4TsYvgF+Boh67vTJttRwgg== > : > : =KXbo > : > : -----END PGP SIGNATURE----- > : > : > : > : --------------------------------------------------------------------- > : > : To unsubscribe, e-mail: ####@####.#### > : > : For additional commands, e-mail: ####@####.#### > : > : > : > : > : > > : > > : > : > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRtiBkOLnn4qAcbUGAQKS4Af+Mu0W+WRW7/j9HTyRLW2avvkODj2aGvCj 3zupGxfxaeNIolVm+QEVZjSDvDHtlt4/TZzgBEF0hFjMPLszM4Kuyg3VpmF10UoW BhPUjF8mZhTMZJNF/Yym3/JBS7LNz3k7OLP3HNreK//zIZLMtURUHVgDUnN6mRpA oMHQy8I40lG6BwjCuXmcuM8ad+T9ocFCtROZHimfMyHbrLgrmUzgI05HoxA2dFXW QAJfzpYz5Bh/XgK2kwhjUX42EUlx/ZSEDDoYNco4/KcYo3J98EdsH+aFpmjyphD7 mX4NF9tSwZk8D0To9P6Z7mfd2/V0wLMjpxUu9nHvlRWRFYAlr0TzLA== =C4UV -----END PGP SIGNATURE----- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] Really odd thing.
From: "Greg Haerr" ####@####.#### Date: 1 Sep 2007 02:37:48 +0100 Message-Id: <01a701c7ec38$4d688e50$2f01a8c0@HaydenLake> : Yes this is a good workaround for now. I got it down to 0,0,40 and it : still worked. : I render a simple image in this case it looks like burshed aluminum and : then render some text. If the text is too close to black I get nothing. What truecolor or palette mode are you running? This matters as microwindows uses a closest-color algorithm in palette mode (and averages less than 24bpp truecolor modes) to come up with a different color. : I am recompiling to use Freetype2 to see if that fixes the issue. FT2 doesn't use the GrCopyArea I think so the results should be different. Keep us posted. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |