QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 729|回复: 4

我的gentoo gnome用magicsong,不能显示英文

[复制链接]
发表于 2002-11-26 19:10:58 | 显示全部楼层 |阅读模式
我的fontdir是用mkfontdir生成的,还生成了font.scale.在选好字体magicsong后,英文就无法显示。gentoo自带的song ti fangsong 也是一样
1 fontdir文件:
12
magicsong_bi16.pcf.gz -cjacker-magicsong-bold-i-normal--16-160-75-75-p-170-gb2312.1980-0
magicsong_bi14.pcf.gz -cjacker-magicsong-bold-i-normal--14-140-75-75-p-150-gb2312.1980-0
magicsong_bi12.pcf.gz -cjacker-magicsong-bold-i-normal--12-120-75-75-p-130-gb2312.1980-0
magicsong_b12.pcf.gz -cjacker-magicsong-bold-r-normal--12-120-75-75-p-130-gb2312.1980-0
magicsong_b16.pcf.gz -cjacker-magicsong-bold-r-normal--16-160-75-75-p-170-gb2312.1980-0
magicsong_b14.pcf.gz -cjacker-magicsong-bold-r-normal--14-140-75-75-p-150-gb2312.1980-0
magicsong_n12.pcf.gz -cjacker-magicsong-medium-r-normal--12-120-75-75-p-120-gb2312.1980-0
magicsong_n16.pcf.gz -cjacker-magicsong-medium-r-normal--16-160-75-75-p-160-gb2312.1980-0
magicsong_n14.pcf.gz -cjacker-magicsong-medium-r-normal--14-140-75-75-p-140-gb2312.1980-0
magicsong_i16.pcf.gz -cjacker-magicsong-medium-i-normal--16-160-75-75-p-160-gb2312.1980-0
magicsong_i14.pcf.gz -cjacker-magicsong-medium-i-normal--14-140-75-75-p-140-gb2312.1980-0
magicsong_i12.pcf.gz -cjacker-magicsong-medium-i-normal--12-120-75-75-p-120-gb2312.1980-0
2 XF86Config-4文件:
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/MyFonts"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"

Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Radeon "
Driver "ati"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Radeon "
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
 楼主| 发表于 2002-11-26 20:47:26 | 显示全部楼层
可我gentoo下的gnome里无此目录,怎么办
回复

使用道具 举报

发表于 2002-11-27 08:49:48 | 显示全部楼层
填一行iso8859-1的字体
复制生成的magicsong fonts.dir文件的每一行,
把-c改成-p 把-gb2312.1980-0改成-iso8859-1
这样就有中文和英文字体了。
不过gentoo真的很垃圾,
系统中不可能没有英文字体的。
这种费时费力,网络编译(如果只是网络安装也好)的模式,
保证了gentoo最终只能作为少数人家用的玩具。

很多人喜欢gentoo,因为他够cool,够麻烦,够专业,
正是因为这个原因,是妨碍所有linux发行版走入商用,走入家用的原因。
回复

使用道具 举报

 楼主| 发表于 2002-11-27 14:37:48 | 显示全部楼层
我对字体生成很陌生,请cjacker部长麻烦具体说明一下好吗,谢谢:)
回复

使用道具 举报

发表于 2002-11-27 20:21:19 | 显示全部楼层
hmmm. Gentoo 的配置文件存放地的确和别的 Linux 不同,但仅仅这个好像还不足以成为 [最让人讨厌的 Linux 吧 ]

gtk.zh_CN 在 /etc/X11R6/gtk 下

其它的也挺有个性:
KDE3 在 /usr/kde/3,KDE 2 就在 /usr/kde/2 (依靠版本号区分)
系统服务全部在 /etc/runlevels 下,而且和其它发行版不同,不是靠 1,2,3,4,5 的运行级,居然分了 Boot, Default, nonetwork, single 四级,比起靠数字明了多了。

Gentoo 更像一个以 Linux 为核心的 BSD  
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-25 13:21 , Processed in 0.076721 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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