This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'<avakardjob><order_id>8</order_id><shipping_address><name>Test User</name><addr1>1 Main St</addr1><zip>95131</zip><state>CA</state><country>United States</country><city>San Jose</city></shipping_address><avakards><avakard><card_id>1</card_id><card_style_id>1</card_style_id><card_image>http://i1.ytimg.com/i/HOZ4hOlLG5A0He</card_image><card_row1>Consulting</card_row1><card_row2>[email protected]</card_row2><card_row3>PHP, MySQL, Apache</card_row3><card_row4>SEO</card_row4><card_description>web Developer</card_description><card_color>orange</card_color></avakard><avakard><card_id>2</card_id><card_style_id>1</card_style_id><card_image>http://i1.ytimg.com/i/HOZ4hOlLG5A0He</card_image><card_name>leksey Prozhoga</card_name><card_row1>Consulting</card_row1><card_row2>[email protected]</card_row2><card_row3>PHP, MySQL, Apache</card_row3><card_row4>SEO</card_row4><card_description>web Developer.</card_description><card_color>orange</card_color></avakard> </avakards></avakardjob>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdf = Prawn::Document.new(:page_size => [ 459, 595 ]) | |
pdf.font_families.update( | |
"Gill" => { :bold => "#{Prawn::BASEDIR}/data/fonts/GillSansBold.ttf", | |
:italic => "#{Prawn::BASEDIR}/data/fonts/GillSansItalic.ttf", | |
:bold_italic => "#{Prawn::BASEDIR}/data/fonts/GillSansBoldItalic.ttf", | |
:light => "#{Prawn::BASEDIR}/data/fonts/GillSansLight.ttf", | |
:light_italic => "#{Prawn::BASEDIR}/data/fonts/GillSansLightItalic.ttf", | |
:normal => "#{Prawn::BASEDIR}/data/fonts/GillSans.ttf" } ) | |
pdf.bounding_box [9, 490], :width => 378 do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdf = Prawn::Document.new(:page_size => [ 459, 595 ]) | |
pdf.font_families.update( | |
"Gill" => { :bold => "#{Prawn::BASEDIR}/data/fonts/GillSansBold.ttf", | |
:italic => "#{Prawn::BASEDIR}/data/fonts/GillSansItalic.ttf", | |
:bold_italic => "#{Prawn::BASEDIR}/data/fonts/GillSansBoldItalic.ttf", | |
:light => "#{Prawn::BASEDIR}/data/fonts/GillSansLight.ttf", | |
:light_italic => "#{Prawn::BASEDIR}/data/fonts/GillSansLightItalic.ttf", | |
:normal => "#{Prawn::BASEDIR}/data/fonts/GillSans.ttf" } ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gallery | |
pdf = Prawn::Document.new(:page_size => [ 459, 595 ]) | |
pdf.font_families.update( | |
"Gill" => { :bold => "#{Prawn::BASEDIR}/data/fonts/GillSansBold.ttf", | |
:italic => "#{Prawn::BASEDIR}/data/fonts/GillSansItalic.ttf", | |
:bold_italic => "#{Prawn::BASEDIR}/data/fonts/GillSansBoldItalic.ttf", | |
:light => "#{Prawn::BASEDIR}/data/fonts/GillSansLight.ttf", | |
:light_italic => "#{Prawn::BASEDIR}/data/fonts/GillSansLightItalic.ttf", | |
:normal => "#{Prawn::BASEDIR}/data/fonts/GillSans.ttf" }) |