LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1316|回复: 10

firefox的字体很差问题

[复制链接]
发表于 2005-4-29 13:26:08 | 显示全部楼层 |阅读模式
导了simsun
发现2005的firefly补丁的确不错
一切都好
就firfox字体不行
调整他的参数基本没用
没办法 用konqueror了
发表于 2005-4-29 13:28:39 | 显示全部楼层
装个plf里的freetype看看行不行。
回复 支持 反对

使用道具 举报

发表于 2005-4-29 14:22:01 | 显示全部楼层
我也碰到这个问题,我是MDK10.1装个simsun其它都好就是firefox字体怎么改都不管用
回复 支持 反对

使用道具 举报

发表于 2005-4-29 14:22:03 | 显示全部楼层
我的firefox的字体堪称完美。
回复 支持 反对

使用道具 举报

发表于 2005-4-29 20:06:18 | 显示全部楼层
Post by 断翅蝴蝶
导了simsun
发现2005的firefly补丁的确不错
一切都好
就firfox字体不行
调整他的参数基本没用
没办法 用konqueror了


2005应该只有粗体显示补丁。和字体显示效果关系不大
回复 支持 反对

使用道具 举报

发表于 2005-4-29 21:34:42 | 显示全部楼层
这个效果应该不错吧?
是设置firefox首选项字体,并导入windows几种英文字体,以及编辑userChrome.css的共同结果。
前两项不再多说,关于userChrome.css,要先安装ChromeEdit扩展,然后用其修改userChrome.css即可。
ChromeEdit网址:https://addons.update.mozilla.org/extensions/moreinfo.php?id=17
本人的userChrome.css设置:

  1. /*
  2. * Edit this file and copy it as userChrome.css into your
  3. * profile-directory/chrome/
  4. */

  5. /*
  6. * This file can be used to customize the look of Mozilla's user interface
  7. * You should consider using !important on rules which you want to
  8. * override default settings.
  9. */

  10. /*
  11. * Do not remove the @namespace line -- it's required for correct functioning
  12. */
  13. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


  14. /*
  15. * Some possible accessibility enhancements:
  16. */
  17. /*
  18. * Make all the default font sizes 20 pt:
  19. *
  20. */
  21. {
  22.   font-size: 15pt !important
  23. }
  24. /*
  25. * Make menu items in particular 15 pt instead of the default size:
  26. *
  27. */
  28. menupopup > * {
  29.    font-size: 15pt !important
  30. }
  31. /*
  32. * Give the Location (URL) Bar a fixed-width font
  33. *
  34. */
  35. #urlbar {
  36.    font-family: Lucida Sans,Verdana,Arial !important;
  37.    font-weight: normal !important;
  38.    font-size: 10pt !important;
  39. }

  40. /*
  41. * Eliminate the throbber and its annoying movement:
  42. *
  43. */
  44. #throbber-box {
  45.    display: none !important;
  46. }
  47. .textbox-input-box {
  48. font-family: Lucida Sans,Verdana,Arial !important;
  49. font-weight: normal !important;
  50. font-size: 10pt !important;
  51. margin-bottom: 1px !important;
  52. }

  53. .searchbar-engine-image {
  54. margin-bottom: -1px !important;
  55. }

  56. .searchbar-dropmarker-image {
  57. margin-bottom: -1px !important;
  58. }

  59. .bookmark-item > .toolbarbutton-text {
  60. font-family: Lucida Sans,Verdana,Arial !important;
  61. font-weight: normal !important;
  62. font-size: 9pt !important;
  63. padding-top: 3px !important;
  64. }

  65. tab {
  66. font-family: Lucida Sans,Verdana,Arial !important;
  67. font-weight: normal !important;
  68. font-size: 9pt !important;
  69. }

  70. .tabbrowser-tabs .tab-text {
  71. font-family: Lucida Sans,Verdana,Arial !important;
  72. font-weight: normal !important;
  73. font-size: 9pt !important;
  74. padding-top: 1px !important;
  75. }

  76. .tabbrowser-tabs *|tab[selected="true"] .tab-text {
  77. padding-top: 1px !important;
  78. }

  79. .tabbrowser-tabs .tab-text2 {
  80. font-family: lucida grande !important;
  81. font-weight: normal !important;
  82. font-size: 9pt !important;
  83. padding-top: 1px !important;
  84. }
  85. .tabbrowser-tabs .tab-icon {
  86. margin: 3px 1px 3px 0px !important;
  87. }
  88. .tabbrowser-tabs *|tab[selected="true"] .tab-icon {
  89. margin: 3px 1px 3px 0px !important;
  90. }
  91. .autocomplete-treebody::-moz-tree-cell-text {
  92. font-family: Lucida Sans,Verdana,Arial !important;
  93. font-weight: normal !important;
  94. font-size: 9pt !important;
  95. }

  96. tree {
  97. font-family: Lucida Sans,Verdana,Arial !important;
  98. font-weight: normal !important;
  99. font-size: 9pt !important;
  100. }

  101. popup, menu, menuitem {
  102. font-family: Lucida Sans,Verdana,Arial !important;
  103. font-size: 9pt !important;
  104. text-align: left !important;
  105. }

  106. menulist {
  107. font-family: Lucida Sans,Verdana,Arial !important;
  108. font-size: 9pt !important;
  109. }

  110. #status-bar, #bookmark-window statusbar {
  111. font-family: Lucida Sans,Verdana,Arial !important;
  112. font-weight: normal !important;
  113. font-size: 9pt !important;
  114. }

  115. #FindToolbar {
  116. font-family: Lucida Sans,Verdana,Arial !important;
  117. font-size: 9pt !important;
  118. }

  119. /* Single line text fields */
  120. input {
  121.           /* Set font size and family of text fields */
  122.           font-family: Lucida Sans,Verdana,Arial !important;
  123.             font-size: 9pt !important;

  124.               /* Set background color to something a little prettier */
  125.               background-color: rgb(200, 255, 220) !important;

  126.                 /* Add some key bindings.
  127.                  * For an explanation of how to do this,
  128.                     * see below under "Custom key bindings".
  129.                        */
  130.                 -moz-binding: url("resource:///res/builtin/myHTMLBindings.xml#myInputFields") !important;
  131. }
  132. /*
  133. * For more examples see http://www.mozilla.org/unix/customizing.html
  134. */

复制代码

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2005-4-30 12:22:07 | 显示全部楼层
用了longlongago大虾的方法,效果果然不错,建议版主将其加入到常见问题里,谢谢。
BTW,将刚才生成的CSS文件拷贝到./thunderbird的对应的chrome目录下,可以解决thunderbird的显示问题,呵呵。

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2005-4-30 12:28:06 | 显示全部楼层
我不用XP的字体了,只是默认的了觉得也可以的了,101时还美化,用它干脆不美化了。
回复 支持 反对

使用道具 举报

发表于 2005-4-30 12:33:19 | 显示全部楼层
Post by bobtom
用了longlongago大虾的方法,效果果然不错,建议版主将其加入到常见问题里,谢谢。

常见问题是你不应该使用SimSun,本来的AR PL New Sung因为内嵌了中英文点阵,什么问题都没有。
回复 支持 反对

使用道具 举报

发表于 2005-5-6 03:16:47 | 显示全部楼层
不需要那么麻烦
只需要在地址栏里面输入about:config
几乎所有FIREFOX的设置都可以设置
找到browser.display.screen.resolution改其值为108
重启FIREFOX,一切就都OK了
回复 支持 反对

使用道具 举报

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

本版积分规则

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