[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:60033] Re: TrueType フォントの流用について(X Fatal error) 


Mizutani です

便乗質問させてください

>
> XFree86 で TrueType フォントを利用する
> http://www.sfc.keio.ac.jp/~t97700sn/linux/truetype.html
>

を参考にして、ms-minchou と ms-gothic を採ってききたのですが、
X がうまく立ち上がりません。fontのPathが設定できないといってい
いるようですが、何がちがっていますか?
何か落としてますか?

手順は windows領域から msgothic.ttc msmincho.ttc を
/usr/local/share/fonts/TrueType へコピー
fonts.dir を 手で入力 ( perlftlib をmakeしたのですが
エラーがでたのでとりあえず)
/etc/XF86Config にFontPath を追加
追加した後立ち上がらなくなりました。
追加したFontPathをコメントアウトすると正常にもどります。

環境は slackware3.6 kernel 2.0.36 です
-----error message----
failed to set default font path
'/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/
75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6
/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/
lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/
X11/fonts/100dpi,/usr/local/share/fonts/TrueType'
Fatal server error:
could not open default font 'fixed'

-----/etc/XF86Config-----
# See 'man XF86Config' for info on the format of this file

Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
   FontPath   "/usr/local/share/fonts/TrueType"   <--ここを追加しまし
た
EndSection

----- ls /usr/local/share/fonts/TrueType の結果
fonts.dir
msgothic.ttc
msmincho.ttc

----- fonts.dir の中身----
8
msgothic.ttc -ms-gothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
msgothic.ttc -ms-gothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
msgothic.ttc -ms-gothic-medium-r-normal--0-0-0-0-p-0-iso8859-1
msgothic.ttc -ms-gothic-bold-r-normal--0-0-0-0-c-p-iso8859-1
msmincho.ttc -ms-mincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
msmincho.ttc -ms-mincho-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
msmincho.ttc -ms-mincho-medium-r-normal--0-0-0-0-p-0-iso8859-1
msmincho.ttc -ms-mincho-bold-r-normal--0-0-0-0-c-p-iso8859-1
-------------------

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: