LinuxSir.cn,穿越时空的Linuxsir!

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

为何字体如此娇小? [附图]

[复制链接]
发表于 2007-10-3 13:21:49 | 显示全部楼层 |阅读模式
安装过 xorg-7.3/driver/xf86-video-intel-2.1.1.tar.bz2 这个之后,字特小,看不清。Intel网站也不知道能不能下载驱动,全E文,还要注册……


这是 xorg.conf 文件:
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Mouse0" "CorePointer"
  5.         InputDevice    "Keyboard0" "CoreKeyboard"
  6. EndSection

  7. Section "Files"
  8.         RgbPath      "/usr/X11R7/share/X11/rgb"
  9.         ModulePath   "/usr/X11R7/lib64/xorg/modules"
  10.         FontPath     "/usr/share/fonts/misc/"
  11.         FontPath     "/usr/share/fonts/TTF/"
  12.         FontPath     "/usr/share/fonts/OTF"
  13.         FontPath     "/usr/share/fonts/Type1/"
  14.         FontPath     "/usr/share/fonts/100dpi/"
  15.         FontPath     "/usr/share/fonts/75dpi/"
  16. EndSection

  17. Section "Module"
  18.         Load  "extmod"
  19.         Load  "dri"
  20.         Load  "record"
  21.         Load  "dbe"
  22.         Load  "GLcore"
  23.         Load  "glx"
  24.         Load  "xtrap"
  25.         Load  "type1"
  26.         Load  "freetype"
  27. EndSection

  28. Section "InputDevice"
  29.         Identifier  "Keyboard0"
  30.         Driver      "kbd"
  31. EndSection

  32. Section "InputDevice"
  33.         Identifier  "Mouse0"
  34.         Driver      "mouse"
  35.         Option            "Protocol" "auto"
  36.         Option            "Device" "/dev/input/mice"
  37.         Option            "ZAxisMapping" "4 5 6 7"
  38. EndSection

  39. Section "Monitor"
  40.         #DisplaySize          300   190        # mm
  41.         Identifier   "Monitor0"
  42.         VendorName   "AUO"
  43.         ModelName    "3b44"
  44.   Gamma   0.95  0.95  1.45  # created by KGamma
  45. EndSection

  46. Section "Device"
  47.         ### Available Driver options are:-
  48.         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  49.         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  50.         ### [arg]: arg optional
  51.         #Option     "NoAccel"                    # [<bool>]
  52.         #Option     "SWcursor"                   # [<bool>]
  53.         #Option     "ColorKey"                   # <i>
  54.         #Option     "CacheLines"                 # <i>
  55.         #Option     "Dac6Bit"                    # [<bool>]
  56.         #Option     "DRI"                        # [<bool>]
  57.         #Option     "NoDDC"                      # [<bool>]
  58.         #Option     "ShowCache"                  # [<bool>]
  59.         #Option     "XvMCSurfaces"               # <i>
  60.         #Option     "PageFlip"                   # [<bool>]
  61.         Identifier  "Card0"
  62.         Driver      "intel"
  63.         VendorName  "Intel Corporation"
  64.         BoardName   "Mobile Integrated Graphics Controller"
  65.         BusID       "PCI:0:2:0"
  66. EndSection

  67. Section "Screen"
  68.         Identifier "Screen0"
  69.         Device     "Card0"
  70.         Monitor    "Monitor0"
  71.         SubSection "Display"
  72.                 Viewport   0 0
  73.                 Depth     1
  74.         EndSubSection
  75.         SubSection "Display"
  76.                 Viewport   0 0
  77.                 Depth     4
  78.         EndSubSection
  79.         SubSection "Display"
  80.                 Viewport   0 0
  81.                 Depth     8
  82.         EndSubSection
  83.         SubSection "Display"
  84.                 Viewport   0 0
  85.                 Depth     15
  86.         EndSubSection
  87.         SubSection "Display"
  88.                 Viewport   0 0
  89.                 Depth     16
  90.         EndSubSection
  91.         SubSection "Display"
  92.                 Viewport   0 0
  93.                 Depth     24
  94.         EndSubSection
  95. EndSection

复制代码

本帖子中包含更多资源

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

x
发表于 2007-10-4 16:07:36 | 显示全部楼层
只是英文字体小,可能要调整font.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-4 16:15:32 | 显示全部楼层
换 未安装  xorg-7.3/driver/xf86-video-intel-2.1.1.tar.bz2 之前的 /etc/X11/xorg.conf 文件,重启 X ,就能恢复字体大小。
先前使用的是 xorg-7.2 的 xf86-video-i810 。
总之,还是驱动的原因,至今仍然没有在 Intel 网站下载到显卡驱动。听 7dehao 说我的显卡是 GM965 ,我不懂硬件不知道。
回复 支持 反对

使用道具 举报

发表于 2007-10-5 13:50:33 | 显示全部楼层
- Font sizes (DPI) are wrong.  Some displays incorrectly report their
  physical size, which is harmless on most OSes that always assume 96dpi
  displays.  This can be fixed through quirks for specific monitors in the X
  Server, and the output of xrandr --prop along with a physical measurement of
  the screen size in a bug report against the server can help get that fixed.

看看吧,应该有用。可以将字体显示设定为96dpi。
这是xf86-video-intel-2.1.1.tar.bz2文件中的README中的一段话。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-5 18:49:07 | 显示全部楼层
还好,我现在是 Pure64 + x86_64 双CLFS系统。我先 google 翻译一下这段什么意思,然后 chroot 到那个 x86_64 启图形看一看。又积累了一点经验,原来装显卡驱动也是要仔细看 README 的。
十分感谢楼上的帅哥!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-5 20:15:40 | 显示全部楼层
是这样的,当时我在 x86_64 中安装的是 xorg-7.2 ,而这个 intel 的驱动是 xorg-7.3 中才有提供。刚才改过,改之后就启不了图形,可能是因为是 chroot 的原故,得用通用的 xorg.conf ,才能方便 chroot 方式启另一系统图形。不想频繁的重启机器,所以暂未清楚是怎么回事。
刚才在 Pure64 中装上了这个驱动,一切正常。Pure64是最近两三天才做的系统,用的 xorg-7.3 。
综上,暂猜测是因为 这个新的 intel 驱动并不适合用在 Xorg-7.2 的  xorg-server-X11R7.2-1.2.0.tar.bz2 版本中。在 Xorg-7.3 中 Xserver 版本为xorg-server-1.4 中是正常的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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