Sha256: 87ba652e08aadaa514477f517afe3520d2f2bc3ee8708c8e97cb5f701ec7488b
Contents?: true
Size: 434 Bytes
Versions: 8
Compression:
Stored size: 434 Bytes
Contents
# encoding: utf-8 $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') require "prawn" Prawn::Document.generate "hello.pdf" do fill_color "0000ff" text "Hello World", :at => [200,720], :size => 32 font "Times-Roman" fill_color "ff0000" text "Overcoming singular font limitation", :at => [5,5] start_new_page font "Courier" text "Goodbye World", :at => [288,50] end
Version data entries
8 entries across 8 versions & 2 rubygems