# HG changeset patch # User nemo # Date 1406515672 14400 # Node ID 8676ef16c5946b75657920d167b21cf1b6b13f82 # Parent 5adc765da26b51f7dbbf425f6d66bec52259cdd8 Using blended makes smilies and CJK less hideous. diff -r 5adc765da26b -r 8676ef16c594 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);