pidgin: 85af98a0: Fixes #7373, the new live messenger clie...

khc at pidgin.im khc at pidgin.im
Sun Jan 11 18:56:19 EST 2009


-----------------------------------------------------------------
Revision: 85af98a0515f8e58bcacb8f81e8cefe12aeff525
Ancestor: 1cd362f7d2e8144f2924786bf7aa101adb3938fd
Author: khc at pidgin.im
Date: 2009-01-11T23:50:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/85af98a0515f8e58bcacb8f81e8cefe12aeff525

Modified files:
        libpurple/protocols/msn/msg.c

ChangeLog: 

Fixes #7373, the new live messenger client now sends Segoe UI as the default
font. Also why did we send CS=86? That stands for GB2312 in the windows world
and will request the client to find a gb2312 capable font, which is probably
one of the reasons why it picked a poor font for rendering English. The
official client sends CS=1 which means default, so I am going to follow that


-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msg.c	28dde33e686030931faf6678dfa42e8bab1385ac
+++ libpurple/protocols/msn/msg.c	7bc880998e5883df509b273cb99b8108f871709a
@@ -120,7 +120,7 @@ msn_message_new_plain(const char *messag
 	msn_message_set_charset(msg, "UTF-8");
 	msn_message_set_flag(msg, 'A');
 	msn_message_set_attr(msg, "X-MMS-IM-Format",
-						 "FN=MS%20Sans%20Serif; EF=; CO=0; CS=86;PF=0");
+						 "FN=Segoe%20UI; EF=; CO=0; CS=1;PF=0");
 
 	message_cr = purple_str_add_cr(message);
 	msn_message_set_bin_data(msg, message_cr, strlen(message_cr));


More information about the Commits mailing list