LinuxSir.cn,穿越时空的Linuxsir!

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

Thruth有没有方正字体的Opera配置方案

[复制链接]
发表于 2008-6-22 02:34:13 | 显示全部楼层 |阅读模式
我在Ubuntu论坛里看到你有放出AR,微软,WQY等字体的Opera配置方案。
但是SUSE推荐的默认字体是方正字体呀,作为SUSE版主你应该弄出来个方正字体的配置文件吧。
发表于 2008-6-22 03:38:48 | 显示全部楼层
注册5年的老用户!你自己不会配置么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-22 11:49:58 | 显示全部楼层
Post by 糊涂;1865652
注册5年的老用户!你自己不会配置么?

自己修改了,但没成功。
回复 支持 反对

使用道具 举报

发表于 2008-6-22 13:36:06 | 显示全部楼层
字体这么简单,GUI都配置OK....

注册比我早哦,兄弟,自己再研究下啦.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-22 13:49:22 | 显示全部楼层
Post by linux_pro;1865822
字体这么简单,GUI都配置OK....

注册比我早哦,兄弟,自己再研究下啦.

哎呀呀,注册早未必使用LINUX时间长。我虽然接触LINUX比较久,但真正开始长期使用LINUX也才在今年4月而已。
我问的问题是opera 5.0的方正字体配置方案,opera 5.0开始使用ini的字体配置了。我的opensuse11虽然装了WQY但是默认字体是方正字体,而用T版给的WQY的opera配置ini无效。
自己也看了ini配置文件,把其中中文字体处改成方正字体的名字。也无效。

正因为自己弄过但不行,所以才求助的。能解决的都会自己解决拉
回复 支持 反对

使用道具 举报

发表于 2008-6-22 17:56:44 | 显示全部楼层
我不知道怎么禁止点阵,把你想要的字体替换红色部分试试。
/usr/share/opera/ini/font.ini


  1. Opera Preferences version 2.1
  2. ; Do not edit this file while Opera is running
  3. ; This file is stored in UTF-8 encoding
  4. [matches]
  5. ; One can disable xft or core fonts if necessary
  6. ;engine:xft=blacklist
  7. ;engine:x11=blacklist
  8. ; Foundries that are generally known to have bad implementations
  9. ;foundry:urw|abiword|ultimo=bad
  10. ; Generic settings - families with known glyph types
  11. family:times|nimbus roman no9 l|times new roman|bitstream vera serif=serif
  12. family:helvetica|nimbus sans l|arial|bitstream vera sans=sans-serif
  13. family:courier|courier new|bitstream vera sans mono=monospace
  14. ; Generic settings - generic families which have good, readable designs,
  15. ; but where we can't be sure the implementation is any good.
  16. ;family:times|times new roman=good
  17. ;family:helvetica|arial=good
  18. ;family:courier|courier new=good
  19. ;family:clearlyu *=good
  20. family::Microsoft YaHei|Microsoft JhengHei|Meiryo|Malgun Gothic=good
  21. ; Known high-quality fonts
  22. family:arial|verdana|times new roman;foundry:microsoft|monotype=excellent
  23. family:Nimbus*=verygood
  24. foundry:bitstream=excellent
  25. ; Known fonts that solves specific problems
  26. ;family:mincho|gothic=japanese good try-first
  27. ;family:kochi*=japanese good try-first
  28. ;family:song|song ti|fangsong*=chinese-s try-first
  29. ;family:baekmuk*=korean good try-first
  30. family:[color=red]Microsoft YaHei[/color]=chinese-s try-first
  31. ;family:Microsoft JhengHei=chinese-t try-first
  32. family:Meiryo=japanese good try-first
  33. family:Malgun Gothic=korean good try-first
  34. ; Fonts that we know should not be used for displaying text
  35. family:*dingbat*|*dings*|agathadaimon=symbol
  36. ; Specific fonts at the bottom
  37. ; Known bad implementations
  38. engine:x11;foundry:mdk;family:helvetica=blacklist
  39. [default]
  40. usage=by-request
  41. preference=5
  42. [serif]
  43. style=serif
  44. [sans-serif]
  45. style=sans-serif
  46. [monospace]
  47. style=monospace
  48. [cursive]
  49. style=cursive
  50. [fantasy]
  51. style=fantasy
  52. [japanese]
  53. style=japanese
  54. [chinese-s]
  55. style=chinese-s
  56. [chinese-t]
  57. style=chinese-t
  58. ;[chinese-s]
  59. ;style=chinese-s
  60. [korean]
  61. style=korean
  62. [try-first]
  63. usage=try-first
  64. [excellent]
  65. preference=8
  66. usage=try-first
  67. [verygood]
  68. preference=7
  69. usage=try-first
  70. [good]
  71. preference=6
  72. [bad]
  73. preference=4
  74. [avoid]
  75. usage=by-request
  76. [symbol]
  77. usage=by-request
  78. [blacklist]
  79. usage=blacklist
复制代码
回复 支持 反对

使用道具 举报

用户名用户名 该用户已被删除
发表于 2008-6-22 18:28:37 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-22 23:59:28 | 显示全部楼层
Post by yourfriend;1865913
我不知道怎么禁止点阵,把你想要的字体替换红色部分试试。
/usr/share/opera/ini/font.ini


  1. Opera Preferences version 2.1
  2. ; Do not edit this file while Opera is running
  3. ; This file is stored in UTF-8 encoding


  4. [matches]

  5. ; One can disable xft or core fonts if necessary
  6. ;engine:xft=blacklist
  7. ;engine:x11=blacklist

  8. ; Foundries that are generally known to have bad implementations
  9. ;foundry:urw|abiword|ultimo=bad

  10. ; Generic settings - families with known glyph types
  11. family:times|nimbus roman no9 l|times new roman|bitstream vera serif=serif
  12. family:helvetica|nimbus sans l|arial|bitstream vera sans=sans-serif
  13. family:courier|courier new|bitstream vera sans mono=monospace

  14. ; Generic settings - generic families which have good, readable designs,
  15. ; but where we can't be sure the implementation is any good.
  16. ;family:times|times new roman=good
  17. ;family:helvetica|arial=good
  18. ;family:courier|courier new=good
  19. ;family:clearlyu *=good
  20. family::Microsoft YaHei|Microsoft JhengHei|Meiryo|Malgun Gothic=good

  21. ; Known high-quality fonts
  22. family:arial|verdana|times new roman;foundry:microsoft|monotype=excellent
  23. family:Nimbus*=verygood
  24. foundry:bitstream=excellent

  25. ; Known fonts that solves specific problems
  26. ;family:mincho|gothic=japanese good try-first
  27. ;family:kochi*=japanese good try-first
  28. ;family:song|song ti|fangsong*=chinese-s try-first
  29. ;family:baekmuk*=korean good try-first
  30. family:[color=red]Microsoft YaHei[/color]=chinese-s try-first
  31. ;family:Microsoft JhengHei=chinese-t try-first
  32. family:Meiryo=japanese good try-first
  33. family:Malgun Gothic=korean good try-first
  34. ; Fonts that we know should not be used for displaying text
  35. family:*dingbat*|*dings*|agathadaimon=symbol

  36. ; Specific fonts at the bottom
  37. ; Known bad implementations
  38. engine:x11;foundry:mdk;family:helvetica=blacklist


  39. [default]
  40. usage=by-request
  41. preference=5

  42. [serif]
  43. style=serif

  44. [sans-serif]
  45. style=sans-serif

  46. [monospace]
  47. style=monospace

  48. [cursive]
  49. style=cursive

  50. [fantasy]
  51. style=fantasy

  52. [japanese]
  53. style=japanese

  54. [chinese-s]
  55. style=chinese-s

  56. [chinese-t]
  57. style=chinese-t

  58. ;[chinese-s]
  59. ;style=chinese-s

  60. [korean]
  61. style=korean

  62. [try-first]
  63. usage=try-first

  64. [excellent]
  65. preference=8
  66. usage=try-first

  67. [verygood]
  68. preference=7
  69. usage=try-first

  70. [good]
  71. preference=6

  72. [bad]
  73. preference=4

  74. [avoid]
  75. usage=by-request

  76. [symbol]
  77. usage=by-request

  78. [blacklist]
  79. usage=blacklist
复制代码


修改第35行,这个我知道。我改了,但是不OK。
我是11用的10.3的方正简体中文字体
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-23 00:01:28 | 显示全部楼层
Post by 用户名用户名;1865924
看不懂楼主在说啥....


你这个方法.....汗
之前改字体只要把国际字体,那里面几个地方改下就OK。但是不完美,你这种方法更不完美。不OK的:yun:
回复 支持 反对

使用道具 举报

发表于 2008-6-23 00:33:45 | 显示全部楼层
Post by Ouranos;1866056
你这个方法.....汗
之前改字体只要把国际字体,那里面几个地方改下就OK。但是不完美,你这种方法更不完美。不OK的:yun:

楼主能说说怎么个不完美不OK么。我就是这么改的。所有字体都改成方正楷体。
哦对了,刚改完是不行的。我又定义了一个user.css,字体就完全如我所愿了(下图)。我也不明白怎么就行了。呵呵
回复 支持 反对

使用道具 举报

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

本版积分规则

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