Sha256: 80948e6b680573b701b0bf2db344b767873e65e2845ce3cffa578d69c5ca4170

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

$:.unshift(File.dirname(__FILE__) + "/../lib")

require 'pdf/wrapper'

pdf = PDF::Wrapper.new("utf8-long.pdf", :paper => :A4)
pdf.font("Sans Serif")
pdf.text File.read(File.dirname(__FILE__) + "/../specs/data/utf8-long.txt"), :font => "Monospace", :font_size => 8, :top => 300
pdf.finish

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pdf-wrapper-0.4.5 examples/utf8-long.rb
pdf-wrapper-0.4.4 examples/utf8-long.rb
pdf-wrapper-0.4.1 examples/utf8-long.rb
pdf-wrapper-0.4.0 examples/utf8-long.rb
pdf-wrapper-0.3.5 examples/utf8-long.rb
pdf-wrapper-0.3.4 examples/utf8-long.rb
pdf-wrapper-0.3.3 examples/utf8-long.rb
pdf-wrapper-0.3.2 examples/utf8-long.rb
pdf-wrapper-0.3.1 examples/utf8-long.rb
pdf-wrapper-0.3.0 examples/utf8-long.rb
pdf-wrapper-0.2.0 examples/utf8-long.rb
pdf-wrapper-0.2.1 examples/utf8-long.rb