xiehuc / pidgin-lwqq

a pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol
GNU General Public License v3.0
660 stars 185 forks source link

[feature request] 字体设置 #184

Closed leesah closed 11 years ago

leesah commented 11 years ago

环境

聊天时对方反映我的自体又大又醒目不好看。 我可以用 web qq 登录,设置成美观一点的字体。但是换回 Empathy 登录时这些设置就无效了。 虽然自定的义字体我自己在 Empathy 里看不见,但是还是希望能满足一下对方的要求。

xiehuc commented 11 years ago

你说一说你webqq的字体设置.我看如果普遍适用的话可以固化在源代码中. 不是普遍适用的化.就只能考虑增加配置文件了.

在 2013年1月22日上午11:52,Sah notifications@github.com写道:

环境

  • Ubuntu 12.10
  • Online Accounts
  • Empathy
  • pidgin-lwqq (从 PPA 安装)

聊天时对方反映我的自体又大又醒目不好看。 我可以用 web qq 登录,设置成美观一点的字体。但是换回 Empathy 登录时这些设置就无效了。 虽然自定的义字体我自己在 Empathy 里看不见,但是还是希望能满足一下对方的要求。

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184.

leesah commented 11 years ago

我是用的微软雅黑,10号。颜色代码看不到,但是是深灰色。

felixonmars commented 11 years ago

有办法直接用pidgin自己的消息字体设定吗? 比如pidgin设置的9号字, pt = 3/4*px ... (不过我不熟悉pidgin自己的字号, 不知是否有用 :P

On Tue, Jan 22, 2013 at 12:35 PM, Sah notifications@github.com wrote:

我是用的微软雅黑,10号。颜色代码看不到,但是是深灰色。

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530363.

Felix Yan Twitter: @felixonmars Wiki: http://felixc.at

xiehuc commented 11 years ago

他是用的empathy.所以跟pidgin没关系了.

在 2013年1月22日下午12:48,Felix Yan notifications@github.com写道:

有办法直接用pidgin自己的消息字体设定吗? 比如pidgin设置的9号字, pt = 3/4*px ... (不过我不熟悉pidgin自己的字号, 不知是否有用 :P

On Tue, Jan 22, 2013 at 12:35 PM, Sah notifications@github.com wrote:

我是用的微软雅黑,10号。颜色代码看不到,但是是深灰色。

— Reply to this email directly or view it on GitHub< https://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530363>.

Felix Yan Twitter: @felixonmars Wiki: http://felixc.at

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530594.

xiehuc commented 11 years ago

你把webqq.c的1394行,改为 mmsg->f_name=s_strdup("微软雅黑"); mmsg->f_size = 10; 就可以了. 1424行也有一个.是群消息的.可以改.

因为现在github用不了.所以没法上传代码. 就算能上传也要等到下个月底才能同步到PPA里面. 字体大小可以接受为默认值. 微软雅黑还要再考虑下.因为宋体具有广泛性.

改完了重新编译安装即可.

在 2013年1月22日下午12:54,谢虎成 xiehuc@gmail.com写道:

他是用的empathy.所以跟pidgin没关系了.

在 2013年1月22日下午12:48,Felix Yan notifications@github.com写道:

有办法直接用pidgin自己的消息字体设定吗? 比如pidgin设置的9号字, pt = 3/4*px ... (不过我不熟悉pidgin自己的字号,

不知是否有用 :P

On Tue, Jan 22, 2013 at 12:35 PM, Sah notifications@github.com wrote:

我是用的微软雅黑,10号。颜色代码看不到,但是是深灰色。

— Reply to this email directly or view it on GitHub< https://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530363>.

Felix Yan Twitter: @felixonmars Wiki: http://felixc.at

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530594.

xiehuc commented 11 years ago

对了.其实还是不太推荐empathy.因为没有本地缓存. 所以不能保存聊天记录. 加载速度慢.

等等.

在 2013年1月22日下午1:21,谢虎成 xiehuc@gmail.com写道:

你把webqq.c的1394行,改为 mmsg->f_name=s_strdup("微软雅黑"); mmsg->f_size = 10; 就可以了. 1424行也有一个.是群消息的.可以改.

因为现在github用不了.所以没法上传代码. 就算能上传也要等到下个月底才能同步到PPA里面. 字体大小可以接受为默认值. 微软雅黑还要再考虑下.因为宋体具有广泛性.

改完了重新编译安装即可.

在 2013年1月22日下午12:54,谢虎成 xiehuc@gmail.com写道:

他是用的empathy.所以跟pidgin没关系了.

在 2013年1月22日下午12:48,Felix Yan notifications@github.com写道:

有办法直接用pidgin自己的消息字体设定吗? 比如pidgin设置的9号字, pt = 3/4*px ...

(不过我不熟悉pidgin自己的字号, 不知是否有用 :P

On Tue, Jan 22, 2013 at 12:35 PM, Sah notifications@github.com wrote:

我是用的微软雅黑,10号。颜色代码看不到,但是是深灰色。

— Reply to this email directly or view it on GitHub< https://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530363>.

Felix Yan Twitter: @felixonmars Wiki: http://felixc.at

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12530594.

leesah commented 11 years ago

因为用的是 Ubuntu,默认的 IM 就是它,不想换了。这个插件要想做得通用一些会很难吗?我发现好多问题都要区分考虑 Pidgin 和 Empathy 的情况。

xiehuc commented 11 years ago

empathy不能读home文件夹的内容.不能保存内容.

很是头痛的.

等有空了再研究empathy了.

在 2013年1月22日下午2:27,Sah notifications@github.com写道:

因为用的是 Ubuntu,默认的 IM 就是它,不想换了。这个插件要想做得通用一些会很难吗?我发现好多问题都要区分考虑 Pidgin 和 Empathy 的情况。

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12532227.

leesah commented 11 years ago

那么建议默认最好别用宋体。宋体太难看了。如果设置成Arial,中文字符应该会自动落到操作系统或者浏览器默认的中文字体上吧?

leesah commented 11 years ago

字体和颜色还是次要。要不咱先把字号改成10吧?

xiehuc commented 11 years ago

擦,github能上去了!?

2013/1/23 Sah notifications@github.com

字体和颜色还是次要。要不咱先把字号改成10吧?

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12588160.

xiehuc commented 11 years ago

dev分支已加入

在 2013年1月23日下午5:54,谢虎成 xiehuc@gmail.com写道:

擦,github能上去了!?

2013/1/23 Sah notifications@github.com

字体和颜色还是次要。要不咱先把字号改成10吧?

— Reply to this email directly or view it on GitHubhttps://github.com/xiehuc/pidgin-lwqq/issues/184#issuecomment-12588160.

leesah commented 11 years ago

我一直都是骑着墙头上网的。没感觉~。欧耶。