Permalink
Browse files

bug report

  • Loading branch information...
1 parent 200fc36 commit e61d22a7880dee042d67790ebddb85f31b9b1e23 @practicingruby practicingruby committed Sep 11, 2008
Showing with 11 additions and 0 deletions.
  1. +11 −0 bugs/png_barcode_issue.rb
  2. BIN data/images/barcode_issue.png
View
@@ -0,0 +1,11 @@
+# As of 200fc36455fa3bee0e1e3bb25d1b5bf73dbf3b52,
+# the following code does not correctly render a PNG image
+#
+# encoding: utf-8
+
+$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
+require "prawn"
+
+Prawn::Document.generate('png_barcode_issue.pdf') do
+ image "#{Prawn::BASEDIR}/data/images/barcode_issue.png"
+end
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e61d22a

Please sign in to comment.