QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1201|回复: 12

为什么不一样?

[复制链接]
发表于 2002-10-11 04:59:53 | 显示全部楼层 |阅读模式
我用Mozilla1.2a中文版浏览网页时,为什么有的是simsun字体,有的却不是呢?
还有标题栏的字体好象在preferences里无法选中simsun.我用的是RH7.3,用ttfm.sh安装的字体,也把gtk修改了.
而且,在有的网站上发贴,贴子显示是simsun字体,但是我在发贴输入的时候写出来的却是别的字体(跟标题栏一样),有的网站却能够显示正常simsun字体,怎么回事?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2002-10-11 10:15:31 | 显示全部楼层
按"中文版"的汉化文章修改/etc/gtk/gtkrc.zh_CN
回复

使用道具 举报

 楼主| 发表于 2002-10-11 16:36:26 | 显示全部楼层

我的修改正确吗?

/etc/gtk/gtkrc.zh_CN如下

# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <[email protected]>
#

style "gtk-default-zh-cn" {
        fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                  -aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,\*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"


/etc/gnome/gtkrc.zh_CN如下

# $(datadir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <[email protected]>

style "GnomeScores_CurrentPlayer_style"
{
  fg[NORMAL] = {1.0, 0.0, 0.0}
}

style "GnomeScores_Logo_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
  fg[NORMAL] = {0.0, 0.0, 1.0}
}

style "GnomeAbout_DrawingArea_style"
{
  bg[NORMAL] = {1.0, 1.0, 1.0}
}

style "GnomeAbout_Title_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Copyright_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Author_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Names_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeAbout_Comments_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
}

style "GnomeHRef_Label_style"
{
  fg[NORMAL] = { 0.0, 0.0, 1.0 }
  fg[PRELIGHT] = { 0.0, 0.0, 1.0 }
  fg[INSENSITIVE] = { 0.5, 0.5, 1.0 }
  fg[ACTIVE] = { 1.0, 0.0, 0.0 }
}

style "GnomeGuru_PageTitle_style"
{
  fontset = "-aliasmisc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"
}


widget "*GnomeScores*.CurrentPlayer" style "GnomeScores_CurrentPlayer_style"
widget "*GnomeScores*.Logo" style "GnomeScores_Logo_style"
widget "*GnomeAbout*.DrawingArea" style "GnomeAbout_DrawingArea_style"
widget "*GnomeAbout*.Author" style "GnomeAbout_Author_style"
widget "*GnomeAbout*.Comments" style "GnomeAbout_Comments_style"
widget "*GnomeAbout*.Copyright" style "GnomeAbout_Copyright_style"
widget "*GnomeAbout*.Names" style "GnomeAbout_Names_style"
widget "*GnomeAbout*.Title" style "GnomeAbout_Title_style"
widget "*GnomeHRef.GtkLabel" style "GnomeHRef_Label_style"
widget "*GnomeGuru*.PageTitle" style "GnomeGuru_PageTitle_style"

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2002-10-11 16:44:32 | 显示全部楼层

其实。

其实你的 gtkrc 是对的。只是 Mozilla 里面的字体没有改成 Simsun 。


哦,仔细一看,好像又不是的,哈哈。
回复

使用道具 举报

 楼主| 发表于 2002-10-11 16:51:02 | 显示全部楼层
这个就不行.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2002-10-11 16:54:00 | 显示全部楼层
最小字体设大一点。
回复

使用道具 举报

 楼主| 发表于 2002-10-11 17:07:44 | 显示全部楼层

不行呀

最小字体改成16都不行.
回复

使用道具 举报

发表于 2002-10-11 17:10:11 | 显示全部楼层

那个网页要求的是这个字体呢。

那个网页要求的是这个字体呢。

修改成总是使用我的字体呀。
回复

使用道具 举报

 楼主| 发表于 2002-10-11 17:12:34 | 显示全部楼层

mozila难道不行?

都改成simsun了呀

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2002-10-11 17:14:25 | 显示全部楼层
最小字体设成12。重新启动mozilla。不行就ctrl + "+"
回复

使用道具 举报

 楼主| 发表于 2002-10-11 17:21:56 | 显示全部楼层

搞定了,为什么呢?

现在正常了,Ctrl+"+"是用来放大字体的吗?为什么放大再缩小就行了呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2002-10-11 17:23:36 | 显示全部楼层
mozilla 的 BUG!
回复

使用道具 举报

 楼主| 发表于 2002-10-11 17:25:51 | 显示全部楼层

多谢总监

终于搞定了,现在汉化总算完成了,谢谢论坛的兄弟们的帮助.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-23 18:48 , Processed in 0.165466 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表