2004-07-16 6334歩

λ OCN緊急設備工事

Nagiosの監視によると 2:05〜2:46 の間、ここの回線が止まっていた。(アナウンス上は2時から4時まで)

停止期間中のtracerouteの結果は、過日のOCN電源トラブルの時と同じ感じだった。PPPoEセッションを切らない限りはPPPoEは接続しっぱなし。 せっかく監視してたのでメモ。

λ Google電卓リファレンス

Google人材募集を計算ではなくネットワークリソースで解決 する方法を見ていて、Googleの電卓機能で計算できるのかなあと思いながら見付けたサイト。

λ [Mac] X11 for Mac OS X に日本語のフォントを導入します

IPAフォント付き GRASS国際化版(i18n) からフォントをもってきて、 /usr/X11R6/lib/X11/fonts/TTFにTrueTypeフォントをインストール。mkfontscaleを実行した。 mkfontdirでは認識してくれない。

MS Gothicの代替フォントとして、東風フォント以外を指定する方法が今のとこ不明。

ついでにヒラギノとか平成明朝に挑戦しようとしたが、 .otf ファイルは pfaedit で開いてTrueTypeで保存しようとするとBus Errorとかでコケる。

/Applications/OpenOffice.org1.1.2/share/registry/data/org/openoffice/VCL.xcuの ja-jp ノードで、IPAUIGothicを使うよう指定した。

<node oor:name="ja-jp" oor:op="replace">
 <prop oor:name="CJK_HEADING" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Gothic;MS Mincho;HG Mincho J;HG Mincho L;HG Mincho;Mincho;MS PMincho;HG Mincho Light J;MS Gothic;HG Gothic J;HG Gothic B;HG Gothic;Gothic;MS PGothic;Andale Sans UI;Arial Unicode MS;Lucida Sans Unicode;Tahoma</value>
 </prop>
 <prop oor:name="CJK_PRESENTATION" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Gothic;MS Gothic;HG Gothic J;HG Gothic B;HG Gothic;Gothic;MS PGothic;Andale Sans UI;Arial Unicode MS;Lucida Sans Unicode;Tahoma</value>
 </prop>
 <prop oor:name="CJK_SPREADSHEET" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Andale Sans UI;Gothic;MS Gothic;HG Gothic J;HG Gothic B;HG Gothic;Gothic;MS PGothic;Andale Sans UI;Arial Unicode MS;Lucida Sans Unicode;Tahoma</value>
 </prop>
 <prop oor:name="CJK_TEXT" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Mincho;Thorndale;Times New Roman;Times;Lucida Serif;Lucida Bright;Timmons;New York;Serif</value>
 </prop>
 <prop oor:name="UI_FIXED" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Gothic;Cumberland;Courier New;Courier;Lucida Sans Typewriter;Lucida Typewriter;Monaco;Monospaced</value>
 </prop>
 <prop oor:name="FIXED" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Gothic;Cumberland;Courier New;Courier;Lucida Sans Typewriter;Lucida Typewriter;Monaco;Monospaced</value>
 </prop>
 <prop oor:name="UI_SANS" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Andale Sans UI;kochigothic;Gothic;gnu-unifont</value>
 </prop>
 <prop oor:name="LATIN_FIXED" oor:op="replace" oor:type="xs:string">
  <value>IPAUIGothic;Cumberland;Courier New;Courier;Lucida Sans Typewriter;Lucida Typewriter;Monaco;Monospaced</value>
 </prop>
</node>

東風代替に比べれば IPAUIGothic は随分とバランスがいい。

λ Test::Unit

RubyUnitが、Test::Unitに取って代わられてた。使い方はほとんど変わらない。

[]