Sha256: 96b04dd1d8c8ea186a9ca9c7d10fa27434659218bc5755bc23f8e8dca26e4a45

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

# As of 2009.02.13, indentation does not work across page breaks. [#86]

$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
require "prawn/core"

Prawn::Document.generate("indent_page_breaks.pdf") do
  text "heading", :size => 14, :style => :bold

  indent(20) do
    100.times do
      text "test"
    end
  end
end
   

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prawn-graph-0.0.2 vendor/prawn-core/bugs/indentation_across_pagebreaks.rb
prawn-graph-0.0.1 vendor/prawn-core/bugs/indentation_across_pagebreaks.rb