<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
...
<alias>
<family>sans-serif</family>
<prefer>
<family>VL Gothic</family>
</prefer>
</alias>
...
</fontconfig>
July 2, 2008
Flash 9で日本語が表示されない件
しばし表示されなくて困ってた。今まではxfsの設定ファイルが必要でそこからフォントパスをたどってもげもげとかだったのが、fontconfigに移行した、ところまでは情報として入手できてたけど、Pangoもリンクしててなおさら不自然極まりない挙動に頭を抱えてたが、Pangoはあまり直接関係はないみたいだ。fontconfig単体だけ使った場合には非常にありがちな問題なのだけど、sans-serifから見つけたフォントをそのまま使いつづけるため、最初に掴んだフォントが欧文フォントだと日本語とかがでなくなってしまうということらしい。.fonts.confをいじって日本語フォントを最初につかませるように変えたら問題なくなった。
ちょっとした失敗
なんか--hogeみたいなファイルができててコマンドを*で実行したら--hogeなんてオプション知らねえとか言われて、何を言ってるのか最初さっぱり分からんかった。状況的にはこんな感じ。
% touch -r -fワイルドカードの前に--を入れとくのが安全だよね。
% mkdir foo
% rm *
% ls
-f -r
June 14, 2008
June 9, 2008
EmulateWheelが動かない
Xの設定で
という設定がある。ThinkPadとかでトラックポイントを使ってスクロールさせるための設定なんだけど、Fedora 9で動かなくなった。というのもFedora 9で本来予定されていたxorg.confに何もかかなくても動くように自動でデバイスを認識して〜という機能の副作用みたいなもので、evdevが有効にされてしまうため。他にもキーボードのレイアウトがとか問題も多く、Fedora 10まで延期にされたfeature。
ともあれ、この問題を解決するために以下の行を追加すると動くようになる(参考)。
Section "InputDevice"
Driver "mouse"
Option "EmulateWheel" "true"
...
EndSection
という設定がある。ThinkPadとかでトラックポイントを使ってスクロールさせるための設定なんだけど、Fedora 9で動かなくなった。というのもFedora 9で本来予定されていたxorg.confに何もかかなくても動くように自動でデバイスを認識して〜という機能の副作用みたいなもので、evdevが有効にされてしまうため。他にもキーボードのレイアウトがとか問題も多く、Fedora 10まで延期にされたfeature。
ともあれ、この問題を解決するために以下の行を追加すると動くようになる(参考)。
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
June 6, 2008
Arguments on gconf-cleaner
just realized that linuxinsight.com posted an article about gconf-cleaner. that's good to see. thanks for picking that up.
Aside from that, actually I have sometimes seen someone was picking up and eventually ending up to have similar comments every times. like wonder if it affects the performance. this is an XML file though. and complaint of GConf, typically that may comes on the flamewar like GNOME v.s. KDE then. please not heat up so much about the kind of the joke software, even though you have complaint on GConf and GNOME. that may improves the performance after cleaning up. dunno. but I just wanted to get rid of the unnecessary keys and values there as we sometimes do clean up the unnecessary dot files from $HOME. that's all. at least I have never expected anything else :)
Aside from that, actually I have sometimes seen someone was picking up and eventually ending up to have similar comments every times. like wonder if it affects the performance. this is an XML file though. and complaint of GConf, typically that may comes on the flamewar like GNOME v.s. KDE then. please not heat up so much about the kind of the joke software, even though you have complaint on GConf and GNOME. that may improves the performance after cleaning up. dunno. but I just wanted to get rid of the unnecessary keys and values there as we sometimes do clean up the unnecessary dot files from $HOME. that's all. at least I have never expected anything else :)
Subscribe to:
Posts (Atom)