From: Austin Ziegler Date: 2005-06-15T00:46:55+09:00 Subject: Re: [ANN] PDF::Writer 1.0 (version 1.0.1) On 6/14/05, Jim Freeze wrote: > * Austin Ziegler [2005-06-14 10:17:24 +0900]: > > On 6/13/05, Austin Ziegler wrote: > > > = PDF::Writer > > > > > > At long last, I have released PDF::Writer 1.0. The released version > > > is 1.0.1 and is available from RubyForge: > Great. I'm excited to roll this into my app. > However, none of the demos seem to work. > irb(main):013:0> pdf.select_font("Helvetica") > TypeError: Font Helvetica not found. > from /Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/pdf/font.rb:109:in `open' > from /Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/pdf/writer.rb:228:in `open_font' > from /Users/jdf/local_ruby/ruby-1.8.2/lib/ruby/site_ruby/1.8/pdf/writer.rb:245:in `select_font' > from (irb):13 > from :0 This is an old version of PDF::Writer installed in your site_ruby (the current release doesn't have pdf/font.rb; it's pdf/writer/fontmetrics.rb). If you have an old version installed, you *will* want to remove it before installing the new version. A fresh install works just fine. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca