Sha256: d732f5e1d44816b6471289e868a2b1478090490c479a43cad12b12e2f53f1a88

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

# encoding: utf-8
#
# As of 200fc36455fa3bee0e1e3bb25d1b5bf73dbf3b52,
# the following code does not correctly render a PNG image
#
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', '..','lib')
require "prawn/core"

Prawn::Document.generate('png_barcode_issue.pdf') do
  image "#{Prawn::BASEDIR}/data/images/barcode_issue.png"
end

Version data entries

2 entries across 2 versions & 1 rubygems

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