Sha256: 1d3472b10fc55f83990e3319e85999e55d5e60d6f06ab891386541fed1c6b326
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 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. $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') require "prawn" Prawn::Document.generate("canvas_sets_y_to_0.pdf") do canvas do text "blah" end text "Here's my sentence. by satoko" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prawn-layout-0.3.2 | vendor/prawn-core/bugs/canvas_sets_y_to_0.rb |
prawn-layout-0.3.1 | vendor/prawn-core/bugs/canvas_sets_y_to_0.rb |