LinuxSir.cn,穿越时空的Linuxsir!

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

请教lib32-freetype问题

[复制链接]
发表于 2009-4-11 09:52:05 | 显示全部楼层 |阅读模式
我的xorg升级之后,发现出现这个错误
(EE) Failed to load module "freetype" (module does not exist, 0)
以及警告
Warning: font renderer for ".ttf" already registered at priority 0
Warning: font renderer for ".ttc" already registered at priority 0
Warning: font renderer for ".otf" already registered at priority 0
Warning: font renderer for ".otc" already registered at priority 0
Warning: font renderer for ".pfa" already registered at priority 0
Warning: font renderer for ".pfb" already registered at priority 0
查了很多地方。据说应该是缺少lib32-freetype库,但是没有这个库啊只有一个
sudo pacman -Ss freetype
extra/freetype2 2.3.9-1
    TrueType font rendering library
extra/libxft 2.1.13-1
    FreeType-based font drawing library for X
community/libxft-lcd 2.1.13-1
    FreeType-based font drawing library for X (with custom LCD filter)
大家怎么解决的
发表于 2009-4-11 10:09:10 | 显示全部楼层
这个模块升到1.5还是1.6时就已经没了吧.那有什么问题啊.

你那些警告是运行什么程序出现的?

直接 pacman -S xorg 吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 10:37:28 | 显示全部楼层
Post by zhong;1972723
这个模块升到1.5还是1.6时就已经没了吧.那有什么问题啊.

你那些警告是运行什么程序出现的?

直接 pacman -S xorg 吧
并没有升级到1.6,只是利用pacman  -Syu进行了系统更新,
错误是进入X的时候就会出现的,我即使在xorg.conf文件注释掉freetype也是
配置文件如下
  1. # nvidia-settings: X configuration file generated by nvidia-settings
  2. # nvidia-settings:  version 1.0  (buildmeister@builder63)  Mon Mar  2 12:46:46 PST 2009
  3. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  4. # nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Mon Mar  2 12:45:55 PST 2009
  5. # Auto-generated by Archie mkxcfg
  6. # Auto-generated by Archie mkxcfg
  7. #Section "ServerFlags"
  8. #    Option         "AllowMouseOpenFail" "true"
  9. #    Option         "AutoAddDevices" "False"
  10. #    Option         "AllowEmptyInput" "False"
  11. #EndSection
  12. #Section "InputDevice"
  13. #    Identifier     "Keyboard0"
  14. #    Driver         "keyboard"
  15. #    Option         "CoreKeyboard"
  16. #    Option         "XkbRules" "xorg"
  17. #    Option         "XkbModel" "pc105"
  18. #    Option         "XkbLayout" "us"
  19. #    Option         "XkbVariant" ""
  20. #EndSection
  21. #Section "InputDevice"
  22. #    Identifier     "Serial Mouse"
  23. #    Driver         "mouse"
  24. #    Option         "Protocol" "Microsoft"
  25. #    Option         "Device" "/dev/ttyS0"
  26. #    Option         "Emulate3Buttons" "true"
  27. #    Option         "Emulate3Timeout" "70"
  28. #    Option         "SendCoreEvents" "true"
  29. #EndSection
  30. #Section "InputDevice"
  31. #    Identifier     "PS/2 Mouse"
  32. #    Driver         "mouse"
  33. #    Option         "Protocol" "auto"
  34. #    Option         "ZAxisMapping" "4 5"
  35. #    Option         "Device" "/dev/psaux"
  36. #    Option         "Emulate3Buttons" "true"
  37. #    Option         "Emulate3Timeout" "70"
  38. #    Option         "SendCoreEvents" "true"
  39. #EndSection
  40. #Section "InputDevice"
  41. #    Identifier     "USB Mouse"
  42. #    Driver         "mouse"
  43. #    Option         "Device" "/dev/input/mice"
  44. #    Option         "SendCoreEvents" "true"
  45. #    Option         "Protocol" "IMPS/2"
  46. #    Option         "ZAxisMapping" "4 5"
  47. #    Option         "Buttons" "5"
  48. #EndSection
  49. Section "ServerLayout"
  50. # Serial Mouse not detected
  51. # USB Mouse not detected
  52. #    InputDevice    "Keyboard0" "CoreKeyboard"
  53. #    InputDevice    "PS/2 Mouse" "CorePointer"
  54.     Identifier     "Xorg Configured"
  55.     Screen      0  "Screen0" 0 0
  56. EndSection
  57. Section "Files"
  58. # Additional fonts: Locale, Gimp, TTF...
  59. #        FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
  60. #        FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
  61. # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
  62. #    FontPath        "/usr/share/fonts/PEX"
  63. #    FontPath        "/usr/share/fonts/ttf/western"
  64. #    FontPath        "/usr/share/fonts/ttf/decoratives"
  65. #    FontPath        "/usr/share/fonts/truetype"
  66. #    FontPath        "/usr/share/fonts/truetype/openoffice"
  67. #    FontPath        "/usr/share/fonts/truetype/ttf-bitstream-vera"
  68. #    FontPath        "/usr/share/fonts/latex-ttf-fonts"
  69. #    FontPath        "/usr/share/fonts/defoma/CID"
  70. #    FontPath        "/usr/share/fonts/defoma/TrueType"
  71. ModulePath      "/usr/lib"
  72. ModulePath      "/usr/lib/xorg/modules"   
  73. ModulePath      "/usr/lib/xorg/modules/drivers"
  74. ModulePath      "/usr/lib/xorg/modules/extensions"
  75. ModulePath      "/usr/lib/xorg/modules/input"
  76. ModulePath      "/usr/lib/xorg/modules/multimedia"
  77.     FontPath        "/usr/share/fonts/misc:unscaled"
  78.     FontPath        "/usr/share/fonts/misc"
  79.     FontPath        "/usr/share/fonts/75dpi:unscaled"
  80.     FontPath        "/usr/share/fonts/75dpi"
  81.     FontPath        "/usr/share/fonts/100dpi:unscaled"
  82.     FontPath        "/usr/share/fonts/100dpi"
  83.     FontPath        "/usr/share/fonts/cyrillic"
  84.     FontPath        "/usr/share/fonts/Type1"
  85.     FontPath        "/usr/share/fonts/encodings"
  86.     FontPath        "/usr/share/fonts/encodings/large"
  87.     FontPath        "/usr/share/fonts/TTF"
  88.     FontPath        "/usr/share/fonts/util"
  89.     FontPath        "/usr/share/fonts/wenquanyi/wqy-zenhei"
  90.     FontPath        "/usr/share/fonts/wqy-bitmapfont"
  91. EndSection
  92. Section "Module"
  93. #    Load           "type1"
  94. #    Load  "synaptics"
  95.     Load           "ddc"  # ddc probing of monitor
  96.     Load           "dbe"
  97.     Load           "extmod"
  98.     Load           "glx"
  99.     Load           "bitmap" # bitmap-fonts
  100. #    Load           "freetype"
  101.     Load           "record"
  102. EndSection
  103. Section "ServerFlags"
  104.     Option         "AutoAddDevices" "true"
  105.     Option         "Xinerama" "0"
  106. EndSection
  107. Section "Monitor"
  108.     Identifier     "Monitor0"
  109.     VendorName     "Unknown"
  110.     ModelName      "ROW RM150"
  111.     HorizSync       30.0 - 65.0
  112.     VertRefresh     58.0 - 75.0
  113.     Option         "UseEdidDpi" "false"
  114.     Option         "DPMS" "true"
  115. #    DisplaySize 269 202 # 96 DPI @ 1024x768
  116. EndSection
  117. Section "Device"
  118.     Identifier     "Card0"
  119.     Driver         "nvidia"
  120.     VendorName     "NVIDIA Corporation"
  121.     BoardName      "GeForce FX 5200"
  122. #    Option         "CustomEDID" "CRT-0:/backup/etcbak/row150.raw"
  123.     Option         "UseEdidDpi" "false"
  124.     Option         "DPI" "96 x 96"
  125. # For nvidia Tweak
  126. Option "NoLogo" "True"
  127. Option "ConnectedMonitor" "CRT"
  128. Option "TripleBuffer" "True"
  129. #This option is known to lead to severe unstability and crashes with the new xorg 1.5.3.
  130. Option "BackingStore" "False"
  131. EndSection
  132. Section "Screen"
  133. # Removed Option "Metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +0+0"
  134.     Identifier     "Screen0"
  135.     Device         "Card0"
  136.     Monitor        "Monitor0"
  137.     DefaultDepth    16
  138.     Option         "TwinView" "0"
  139.     Option         "TwinViewXineramaInfoOrder" "CRT-0"
  140.     Option         "Metamodes" "1024x768_75 +0+0; nvidia-auto-select +0+0"
  141.     SubSection     "Display"
  142.         Depth       16
  143.     EndSubSection
  144. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-4-11 11:11:09 | 显示全部楼层
我的也是  

x4500的显卡

Post by netcorner;1972734
并没有升级到1.6,只是利用pacman  -Syu进行了系统更新,
错误是进入X的时候就会出现的,我即使在xorg.conf文件注释掉freetype也是
配置文件如下

  1. # nvidia-settings: X configuration file generated by nvidia-settings
  2. # nvidia-settings:  version 1.0  (buildmeister@builder63)  Mon Mar  2 12:46:46 PST 2009

  3. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  4. # nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Mon Mar  2 12:45:55 PST 2009
  5. # Auto-generated by Archie mkxcfg
  6. # Auto-generated by Archie mkxcfg
  7. #Section "ServerFlags"
  8. #    Option         "AllowMouseOpenFail" "true"
  9. #    Option         "AutoAddDevices" "False"
  10. #    Option         "AllowEmptyInput" "False"
  11. #EndSection
  12. #Section "InputDevice"
  13. #    Identifier     "Keyboard0"
  14. #    Driver         "keyboard"
  15. #    Option         "CoreKeyboard"
  16. #    Option         "XkbRules" "xorg"
  17. #    Option         "XkbModel" "pc105"
  18. #    Option         "XkbLayout" "us"
  19. #    Option         "XkbVariant" ""
  20. #EndSection
  21. #Section "InputDevice"
  22. #    Identifier     "Serial Mouse"
  23. #    Driver         "mouse"
  24. #    Option         "Protocol" "Microsoft"
  25. #    Option         "Device" "/dev/ttyS0"
  26. #    Option         "Emulate3Buttons" "true"
  27. #    Option         "Emulate3Timeout" "70"
  28. #    Option         "SendCoreEvents" "true"
  29. #EndSection
  30. #Section "InputDevice"
  31. #    Identifier     "PS/2 Mouse"
  32. #    Driver         "mouse"
  33. #    Option         "Protocol" "auto"
  34. #    Option         "ZAxisMapping" "4 5"
  35. #    Option         "Device" "/dev/psaux"
  36. #    Option         "Emulate3Buttons" "true"
  37. #    Option         "Emulate3Timeout" "70"
  38. #    Option         "SendCoreEvents" "true"
  39. #EndSection
  40. #Section "InputDevice"
  41. #    Identifier     "USB Mouse"
  42. #    Driver         "mouse"
  43. #    Option         "Device" "/dev/input/mice"
  44. #    Option         "SendCoreEvents" "true"
  45. #    Option         "Protocol" "IMPS/2"
  46. #    Option         "ZAxisMapping" "4 5"
  47. #    Option         "Buttons" "5"
  48. #EndSection

  49. Section "ServerLayout"

  50. # Serial Mouse not detected
  51. # USB Mouse not detected
  52. #    InputDevice    "Keyboard0" "CoreKeyboard"
  53. #    InputDevice    "PS/2 Mouse" "CorePointer"
  54.     Identifier     "Xorg Configured"
  55.     Screen      0  "Screen0" 0 0
  56. EndSection

  57. Section "Files"

  58. # Additional fonts: Locale, Gimp, TTF...
  59. #        FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
  60. #        FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
  61. # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
  62. #    FontPath        "/usr/share/fonts/PEX"
  63. #    FontPath        "/usr/share/fonts/ttf/western"
  64. #    FontPath        "/usr/share/fonts/ttf/decoratives"
  65. #    FontPath        "/usr/share/fonts/truetype"
  66. #    FontPath        "/usr/share/fonts/truetype/openoffice"
  67. #    FontPath        "/usr/share/fonts/truetype/ttf-bitstream-vera"
  68. #    FontPath        "/usr/share/fonts/latex-ttf-fonts"
  69. #    FontPath        "/usr/share/fonts/defoma/CID"
  70. #    FontPath        "/usr/share/fonts/defoma/TrueType"
  71. ModulePath      "/usr/lib"
  72. ModulePath      "/usr/lib/xorg/modules"   
  73. ModulePath      "/usr/lib/xorg/modules/drivers"
  74. ModulePath      "/usr/lib/xorg/modules/extensions"
  75. ModulePath      "/usr/lib/xorg/modules/input"
  76. ModulePath      "/usr/lib/xorg/modules/multimedia"
  77.     FontPath        "/usr/share/fonts/misc:unscaled"
  78.     FontPath        "/usr/share/fonts/misc"
  79.     FontPath        "/usr/share/fonts/75dpi:unscaled"
  80.     FontPath        "/usr/share/fonts/75dpi"
  81.     FontPath        "/usr/share/fonts/100dpi:unscaled"
  82.     FontPath        "/usr/share/fonts/100dpi"
  83.     FontPath        "/usr/share/fonts/cyrillic"
  84.     FontPath        "/usr/share/fonts/Type1"
  85.     FontPath        "/usr/share/fonts/encodings"
  86.     FontPath        "/usr/share/fonts/encodings/large"
  87.     FontPath        "/usr/share/fonts/TTF"
  88.     FontPath        "/usr/share/fonts/util"
  89.     FontPath        "/usr/share/fonts/wenquanyi/wqy-zenhei"
  90.     FontPath        "/usr/share/fonts/wqy-bitmapfont"
  91. EndSection

  92. Section "Module"

  93. #    Load           "type1"
  94. #    Load  "synaptics"
  95.     Load           "ddc"  # ddc probing of monitor
  96.     Load           "dbe"
  97.     Load           "extmod"
  98.     Load           "glx"
  99.     Load           "bitmap" # bitmap-fonts
  100. #    Load           "freetype"
  101.     Load           "record"
  102. EndSection

  103. Section "ServerFlags"
  104.     Option         "AutoAddDevices" "true"
  105.     Option         "Xinerama" "0"
  106. EndSection

  107. Section "Monitor"
  108.     Identifier     "Monitor0"
  109.     VendorName     "Unknown"
  110.     ModelName      "ROW RM150"
  111.     HorizSync       30.0 - 65.0
  112.     VertRefresh     58.0 - 75.0
  113.     Option         "UseEdidDpi" "false"
  114.     Option         "DPMS" "true"
  115. #    DisplaySize 269 202 # 96 DPI @ 1024x768
  116. EndSection

  117. Section "Device"
  118.     Identifier     "Card0"
  119.     Driver         "nvidia"
  120.     VendorName     "NVIDIA Corporation"
  121.     BoardName      "GeForce FX 5200"
  122. #    Option         "CustomEDID" "CRT-0:/backup/etcbak/row150.raw"
  123.     Option         "UseEdidDpi" "false"
  124.     Option         "DPI" "96 x 96"
  125. # For nvidia Tweak
  126. Option "NoLogo" "True"
  127. Option "ConnectedMonitor" "CRT"
  128. Option "TripleBuffer" "True"
  129. #This option is known to lead to severe unstability and crashes with the new xorg 1.5.3.
  130. Option "BackingStore" "False"


  131. EndSection

  132. Section "Screen"

  133. # Removed Option "Metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +0+0"
  134.     Identifier     "Screen0"
  135.     Device         "Card0"
  136.     Monitor        "Monitor0"
  137.     DefaultDepth    16
  138.     Option         "TwinView" "0"
  139.     Option         "TwinViewXineramaInfoOrder" "CRT-0"
  140.     Option         "Metamodes" "1024x768_75 +0+0; nvidia-auto-select +0+0"
  141.     SubSection     "Display"
  142.         Depth       16
  143.     EndSubSection
  144. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-11 11:29:23 | 显示全部楼层
Post by gdyan2001;1972739
我的也是  

x4500的显卡


应该是一个bug,不过问题不大,只是不能用小于8的小号字体
回复 支持 反对

使用道具 举报

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

本版积分规则

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