(truetype30d530a930f330c8)
Personal tools
You are here: Home Linux Vine Linux TrueTypeフォント
Navigation

今の天気
  7℃ 39% 1025hPa NW 7m
福岡地方の今の天気
« November 2008 »
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
最近のログイン

seko
2008/11/19 23:27

Reiko
2008/11/18 13:15

Guest
2008/11/12 15:50

Papasan
2008/10/22 19:40

hage88
2008/10/19 17:39

Peter
2008/10/06 21:22

猫さん。
2008/10/06 04:19

 
Document Actions

TrueTypeフォント

by Papasan last modified 2007-12-26 16:06

モニターの解像度をあげた分、文字が見づらくなりましたので比較的老眼(認めたくないが)も見やすいMS UI ゴシックなどのTrueTypeフォントを使えるようにしました。

フォントファイル

  1. Windows2000から MSGOTHIC.TTC というファイルをVineLinux3.2の /usr/X11R6/lib/X11/fonts/TrueType/ にコピーする(ファイル名を小文字に修正)。 MSGOTHIC.TTC には MSゴシックMS PゴシックMS UIゴシック の3つのフォントセットが入っている。
  2. /usr/X11R6/lib/X11/fonts/TrueType/fonts.dir を修正。
    1. 次の内容を追記する。:
        fn=1:msgothic.ttc -ms-pgothic-medium-r-normal--0-0-0-0-p-0-iso8859-1
        ab=y:fn=1:msgothic.ttc -ms-pgothic-bold-r-normal--0-0-0-0-p-0-iso8859-1
        fn=1:ai=0.4:msgothic.ttc -ms-pgothic-medium-i-normal--0-0-0-0-p-0-iso8859-1
        ab=y:fn=1:ai=0.4:msgothic.ttc -ms-pgothic-bold-i-normal--0-0-0-0-p-0-iso8859-1
        fn=1:msgothic.ttc -ms-pgothic-medium-r-normal--0-0-0-0-p-0-jisx0201.1976-0
        ab=y:fn=1:msgothic.ttc -ms-pgothic-bold-r-normal--0-0-0-0-p-0-jisx0201.1976-0
        fn=1:ai=0.4:msgothic.ttc -ms-pgothic-medium-i-normal--0-0-0-0-p-0-jisx0201.1976-0
        ab=y:fn=1:ai=0.4:msgothic.ttc -ms-pgothic-bold-i-normal--0-0-0-0-p-0-jisx0201.1976-0
        fn=1:msgothic.ttc -ms-pgothic-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0
        ab=y:fn=1:msgothic.ttc -ms-pgothic-bold-r-normal--0-0-0-0-p-0-jisx0208.1983-0
        fn=1:ai=0.4:msgothic.ttc -ms-pgothic-medium-i-normal--0-0-0-0-p-0-jisx0208.1983-0
        ab=y:fn=1:ai=0.4:msgothic.ttc -ms-pgothic-bold-i-normal--0-0-0-0-p-0-jisx0208.1983-0
      
    2. 同ファイルの最初の行にある数字に12(追記した行数)を加算した値に修正する(84だったので12を加算して96)。
  3. /etc/X11/xorg.confを編集してTrueTypeFontを有効にする。:
     Section "Module"
             Load  "GLcore"
             Load  "dbe"
             Load  "extmod"
             Load "fbdevhw"
             Load "dri"
             #Load  "dri"
             Load  "glx"
             #Load  "record"
    
     # font rendering engines
             Load  "type1"
             Load  "xtt"       ← この行がコメントになっているので"#"を削除する。
             Load  "freetype"
     EndSection
    
  4. フォントサーバーもしくはシステムの再起動
  5. ブラウザやコントロールセンター(KDE)などで使用するフォントの変更。
Attachments