LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: nainaide

[解决了]烦请给推荐一个终端等宽字体

[复制链接]
发表于 2009-2-28 00:22:03 | 显示全部楼层
Post by oceanboo;1953834
楼上的,有空来 irc.oftc.net/#openbox-cn 来坐坐。


ok。有空一定挂上。
回复 支持 反对

使用道具 举报

发表于 2009-3-3 01:08:22 | 显示全部楼层
Post by trasher;1953637
  1. kim@Boxer ~ $ cat .Xresources
  2. ! DPI Set
  3. Xft.antialias:  1
  4. Xft.dpi:        98
  5. Xft.hinting:    1
  6. Xft.hintstyle:  hintfull
  7. Xft.rgba:       rgb

  8. !!Emacs set
  9. !Emacs.UseXIM:true
  10. !Emacs.preeditType: OverTheSpot
  11. !Emacs.FontBackend:xft

  12. !!Urxvt set
  13. URxvt.background: rgba:0000/0000/0000/cccc
  14. URxvt.foreground: white
  15. URxvt.depth: 32

  16. ! scroll set
  17. URxvt.scrollBar: False
  18. URxvt.scrollWithBuffer: false
  19. URxvt.saveLines: 5000

  20. ! font set
  21. URxvt.font:xft:Monaco:size=10:antialias=true,xft:LiHei Pro:size=10:antialias=true

  22. ! Input Method set
  23. !URxvt.inputMethod: xim
  24. URxvt.imFont: LiHei Pro
  25. URxvt.preeditType: OverTheSpot
  26. URxvt.thickness: 0
  27. ! window geometry set
  28. URxvt.geometry: 80x28+40+40
  29. URxvt.title: Rxvt-Unicode

  30. ! Perl Script set
  31. URxvt.urlLauncher: firefox
  32. URxvt.matcher.button: 1
复制代码

  1. kim@Boxer ~ $ cat .fonts.conf
  2. <?xml version="1.0"?>
  3. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  4. <!-- ~/.fonts.conf -->
  5. <fontconfig>
  6.         <alias>
  7.                           <family>serif</family>
  8.                   <prefer>
  9.                            <family>LiHei Pro</family>
  10.                            <family>Lucida Grande</family>
  11.                   </prefer>
  12.         </alias>
  13.         <alias>
  14.                           <family>sans-serif</family>
  15.                   <prefer>
  16.                            <family>LiHei Pro</family>
  17.                            <family>Lucida Grande</family>
  18.                   </prefer>
  19.         </alias>
  20.         <alias>
  21.                   <family>monospace</family>
  22.                   <prefer>
  23.                            <family>Monaco</family>
  24.                            <family>LiHei Pro</family>
  25.                            <family>Lucida Grande</family>
  26.                   </prefer>
  27.         </alias>
  28.         <match target="font" >
  29.                   <edit mode="assign" name="rgba" >
  30.                            <const>rgb</const>
  31.                   </edit>
  32.         </match>
  33.         <match target="font" >
  34.                   <edit mode="assign" name="hinting" >
  35.                            <bool>false</bool>
  36.                   </edit>
  37.         </match>
  38.         <match target="font" >
  39.                   <edit mode="assign" name="hintstyle" >
  40.                            <const>hintslight</const>
  41.                   </edit>
  42.         </match>
  43.         <match target="font" >
  44.                   <edit mode="assign" name="antialias" >
  45.                            <bool>true</bool>
  46.                   </edit>
  47.         </match>
  48. </fontconfig>
复制代码




请问你终端的中文字体是什么?
回复 支持 反对

使用道具 举报

发表于 2009-3-3 07:56:05 | 显示全部楼层
Post by waterloo2005;1955391
请问你终端的中文字体是什么?


font.conf里面不是有吗?  monospace , LiHei pro
回复 支持 反对

使用道具 举报

发表于 2009-3-3 19:43:26 | 显示全部楼层
试试ProFont,看起来很清晰(字体比较小罢了)
不过可以看到更加多的行数

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2009-3-3 20:47:56 | 显示全部楼层
Post by trasher;1953637
  1. kim@Boxer ~ $ cat .Xresources
  2. ! DPI Set
  3. Xft.antialias:  1
  4. Xft.dpi:        98
  5. Xft.hinting:    1
  6. Xft.hintstyle:  hintfull
  7. Xft.rgba:       rgb

  8. !!Emacs set
  9. !Emacs.UseXIM:true
  10. !Emacs.preeditType: OverTheSpot
  11. !Emacs.FontBackend:xft

  12. !!Urxvt set
  13. URxvt.background: rgba:0000/0000/0000/cccc
  14. URxvt.foreground: white
  15. URxvt.depth: 32

  16. ! scroll set
  17. URxvt.scrollBar: False
  18. URxvt.scrollWithBuffer: false
  19. URxvt.saveLines: 5000

  20. ! font set
  21. URxvt.font:xft:Monaco:size=10:antialias=true,xft:LiHei Pro:size=10:antialias=true

  22. ! Input Method set
  23. !URxvt.inputMethod: xim
  24. URxvt.imFont: LiHei Pro
  25. URxvt.preeditType: OverTheSpot
  26. URxvt.thickness: 0
  27. ! window geometry set
  28. URxvt.geometry: 80x28+40+40
  29. URxvt.title: Rxvt-Unicode

  30. ! Perl Script set
  31. URxvt.urlLauncher: firefox
  32. URxvt.matcher.button: 1
复制代码

  1. kim@Boxer ~ $ cat .fonts.conf
  2. <?xml version="1.0"?>
  3. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  4. <!-- ~/.fonts.conf -->
  5. <fontconfig>
  6.         <alias>
  7.                           <family>serif</family>
  8.                   <prefer>
  9.                            <family>LiHei Pro</family>
  10.                            <family>Lucida Grande</family>
  11.                   </prefer>
  12.         </alias>
  13.         <alias>
  14.                           <family>sans-serif</family>
  15.                   <prefer>
  16.                            <family>LiHei Pro</family>
  17.                            <family>Lucida Grande</family>
  18.                   </prefer>
  19.         </alias>
  20.         <alias>
  21.                   <family>monospace</family>
  22.                   <prefer>
  23.                            <family>Monaco</family>
  24.                            <family>LiHei Pro</family>
  25.                            <family>Lucida Grande</family>
  26.                   </prefer>
  27.         </alias>
  28.         <match target="font" >
  29.                   <edit mode="assign" name="rgba" >
  30.                            <const>rgb</const>
  31.                   </edit>
  32.         </match>
  33.         <match target="font" >
  34.                   <edit mode="assign" name="hinting" >
  35.                            <bool>false</bool>
  36.                   </edit>
  37.         </match>
  38.         <match target="font" >
  39.                   <edit mode="assign" name="hintstyle" >
  40.                            <const>hintslight</const>
  41.                   </edit>
  42.         </match>
  43.         <match target="font" >
  44.                   <edit mode="assign" name="antialias" >
  45.                            <bool>true</bool>
  46.                   </edit>
  47.         </match>
  48. </fontconfig>
复制代码




为什么我的终端等宽字体下中文很难看?
回复 支持 反对

使用道具 举报

发表于 2009-3-3 21:13:42 | 显示全部楼层
Post by trasher;1953624
Monaco



你的字体很好,请问中英文分别是什么字体?
另外字体的配置文件能给一下吗?
很喜欢你的字体,很清晰,很漂亮
回复 支持 反对

使用道具 举报

发表于 2009-3-3 21:14:20 | 显示全部楼层
研究一下我签名里转的两篇文章...
回复 支持 反对

使用道具 举报

发表于 2009-3-3 21:16:54 | 显示全部楼层
Post by trasher;1955852
研究一下我签名里转的两篇文章...


你的好像不是gentoo,而是debian??
回复 支持 反对

使用道具 举报

发表于 2009-3-3 21:23:16 | 显示全部楼层
Post by Feng.Woo;1955851
你的字体很好,请问中英文分别是什么字体?
另外字体的配置文件能给一下吗?
很喜欢你的字体,很清晰,很漂亮

配置文件第一页的回帖里有
Post by Feng.Woo;1955856
你的好像不是gentoo,而是debian??

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2009-3-3 21:31:21 | 显示全部楼层
Post by trasher;1955859
配置文件第一页的回帖里有





字体需要打什么类似的补丁吗?
回复 支持 反对

使用道具 举报

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

本版积分规则

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