Sha256: 71b6b234b39cc087fae2c728cc5d138155d32d28893db966bcc902fdb4da63d5

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 Bytes

Contents

# As of 7e94d25828021732f7872934cb91430ef798cd86, Document#canvas
# sets pdf.y to 0 after executing a block, which is probably not useful for 
# anyone.  It should retain the y position present at the end of the block.
#
# This was resolved in 998a5c3fad40c9e0a79e1468e3a83815ed948a74 [#88]
#
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', '..','lib')
require "prawn/core"

Prawn::Document.generate("canvas_sets_y_to_0.pdf") do
  
  canvas { text "blah" }
 
  text "Here's my sentence. by satoko"
end

Version data entries

2 entries across 2 versions & 1 rubygems

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