From: ttate@... Date: 1998-07-24T16:47:09+09:00 Subject: [ruby-dev:3403] Re: tk.rb patch 立石@JAISTです。 nagai@dumbo.ai.kyutech.ac.jpさん(07月24日16時): nagai>>ところで,この widget demo ですが,Tk8.1 では動きますか? nagai>>coding の設定を追加する程度で動くのではないかなぁとは nagai>>思っているのですが. nagai>>手元でのテストには Linux しか使っていないのですが, nagai>>他の platform でも本当に動くのか,急に不安になりました.;;;^_^;;; nagai>>動きます??? nagai>>機種依存性はないだろうと期待はしています. 今日試しに自宅のLinux(kernel-2.0.35)+Tcl/Tk8.1で やってみましたが、以下のようなエラーです。 で同様に以前は動いたはずのtcolorでためしても 同じエラーになりました。 ;; フォントが無いといわれている、、、、(^^; localhost:~/work/ruby-tk/demos$ ruby widget /opt/local/lib/ruby/tk.rb:516:in `_invoke': named font "Helvetica -12 bold" doesn't exist (RuntimeError) from /opt/local/lib/ruby/tk.rb:516:in `tk_call' from /opt/local/lib/ruby/tkfont.rb:95:in `init_widget_font' from /opt/local/lib/ruby/tk.rb:1418:in `font_configinfo' from /opt/local/lib/ruby/tk.rb:1451:in `latinfont_configure' from /opt/local/lib/ruby/tk.rb:1430:in `font_configure' from /opt/local/lib/ruby/tk.rb:1563:in `configure' from /opt/local/lib/ruby/tk.rb:1669:in `initialize' from widget:111:in `new' from widget:111 from widget:109:in `new' from widget:109 ---------------------------------------------- Name Takaaki Tateishi E-Mail ttate@jaist.ac.jp tateishi@pluto.dti.ne.jp URL http://www.jaist.ac.jp/~ttate/ Org School of Information Science Japan Advanced Institute of Science and Technology (JAIST)