Skip to content

Commit

Permalink
Fixed README bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nilesh committed Jan 10, 2009
1 parent b1d8f1e commit c2aee5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ Using PDF::PD4ML is trivial. The example below illustrates a simple
use with an output file:

require "pd4ml"

pdf = PDF::PD4ML.new

pdf.add_content "<h1>Hello World!</h1>"

pdf.pdf_password = "quentin"

pdf.save_to('output.pdf')

In the example above, it's not necessary to call the <tt>generate</tt>
Expand All @@ -36,8 +32,6 @@ method since it will be automatically invoked by <tt>save_to</tt>.
You can also configure the program path for PD4ML if it differs in
your system.

require "pd4ml"

PDF::PD4ML.jar_path = "#{Rails.root}/extras/pd4ml/pd4ml.jar"
PDF::PD4ML.java_path = "/usr/bin/java"
PDF::PD4ML.font_path = "#{Rails.root}/extras/fonts"

0 comments on commit c2aee5b

Please sign in to comment.