Using blended makes smilies and CJK less hideous.
authornemo
Sun, 27 Jul 2014 22:47:52 -0400
changeset 10370 8676ef16c594
parent 10369 5adc765da26b
child 10371 e13efda1b2ed
Using blended makes smilies and CJK less hideous.
hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Fri Jul 25 20:42:06 2014 +0400
+++ b/hedgewars/uChat.pas	Sun Jul 27 22:47:52 2014 -0400
@@ -124,7 +124,7 @@
 
 
 // create and blit text shadow
-strSurface:= TTF_RenderUTF8_Solid(Fontz[font].Handle, Str2PChar(str), shadowcolor);
+strSurface:= TTF_RenderUTF8_Blended(Fontz[font].Handle, Str2PChar(str), shadowcolor);
 SDL_UpperBlit(strSurface, nil, resSurface, @dstrect);
 SDL_FreeSurface(strSurface);
 
@@ -133,7 +133,7 @@
 dstrect.y:= Padding;
 
 // create and blit text
-strSurface:= TTF_RenderUTF8_Solid(Fontz[font].Handle, Str2PChar(str), cl.color);
+strSurface:= TTF_RenderUTF8_Blended(Fontz[font].Handle, Str2PChar(str), cl.color);
 SDL_UpperBlit(strSurface, nil, resSurface, @dstrect);
 SDL_FreeSurface(strSurface);