Hello,

Finally I got it.
This is caused by #374062.

This patch is a workaround for that bug. I'm not sure that using bg as
last argument is the best choice, however it works.

--- adonthell-0.3.4.cvs.20050813/src/win_ttf.cc 2004-12-13 09:56:58.000000000 
+0100
+++ adonthell-0.3.4.cvs.20050813.jd/src/win_ttf.cc      2006-08-09 
16:41:00.000000000 +0200
@@ -137,7 +137,7 @@
     if (s == NULL) return *(glyphs[' ']);
     
     image tmp (s, bg);
-    image shadow (TTF_RenderUNICODE_Solid (ttf, unichar, bg), white);
+    image shadow (TTF_RenderUNICODE_Shaded (ttf, unichar, bg, bg), white);
     image *glph = new image (tmp.length(), height_, false);
     glph->fillrect (0, 0, tmp.length()+1, height_+1, screen::trans_col(), 
NULL);
     shadow.draw (1, 1+height_-shadow.height(), 0, 0, shadow.length(), 
shadow.height(), NULL, glph);



Cheers,
-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD

Attachment: signature.asc
Description: Digital signature

Reply via email to