prawn-layout 0.3.2 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -0
- data/Rakefile +6 -3
- data/lib/prawn/layout.rb +1 -1
- data/lib/prawn/layout/page.rb +0 -40
- data/lib/prawn/table/cell.rb +15 -13
- metadata +31 -309
- data/examples/page_layout/flowing_text_with_header_and_footer.rb +0 -36
- data/spec/page_layout_spec.rb +0 -41
- data/vendor/prawn-core/COPYING +0 -340
- data/vendor/prawn-core/HACKING +0 -46
- data/vendor/prawn-core/LICENSE +0 -56
- data/vendor/prawn-core/README +0 -142
- data/vendor/prawn-core/Rakefile +0 -75
- data/vendor/prawn-core/bench/afm_text_bench.rb +0 -18
- data/vendor/prawn-core/bench/png_type_6.rb +0 -15
- data/vendor/prawn-core/bench/ttf_text_bench.rb +0 -19
- data/vendor/prawn-core/bugs/canvas_sets_y_to_0.rb +0 -15
- data/vendor/prawn-core/bugs/png_barcode_issue.rb +0 -11
- data/vendor/prawn-core/bugs/resolved/canvas_sets_y_to_0.rb +0 -15
- data/vendor/prawn-core/data/encodings/win_ansi.txt +0 -29
- data/vendor/prawn-core/data/fonts/Action Man.dfont +0 -0
- data/vendor/prawn-core/data/fonts/Activa.ttf +0 -0
- data/vendor/prawn-core/data/fonts/Chalkboard.ttf +0 -0
- data/vendor/prawn-core/data/fonts/Courier-Bold.afm +0 -342
- data/vendor/prawn-core/data/fonts/Courier-BoldOblique.afm +0 -342
- data/vendor/prawn-core/data/fonts/Courier-Oblique.afm +0 -342
- data/vendor/prawn-core/data/fonts/Courier.afm +0 -342
- data/vendor/prawn-core/data/fonts/DejaVuSans.ttf +0 -0
- data/vendor/prawn-core/data/fonts/Dustismo_Roman.ttf +0 -0
- data/vendor/prawn-core/data/fonts/Helvetica-Bold.afm +0 -2827
- data/vendor/prawn-core/data/fonts/Helvetica-BoldOblique.afm +0 -2827
- data/vendor/prawn-core/data/fonts/Helvetica-Oblique.afm +0 -3051
- data/vendor/prawn-core/data/fonts/Helvetica.afm +0 -3051
- data/vendor/prawn-core/data/fonts/MustRead.html +0 -19
- data/vendor/prawn-core/data/fonts/Symbol.afm +0 -213
- data/vendor/prawn-core/data/fonts/Times-Bold.afm +0 -2588
- data/vendor/prawn-core/data/fonts/Times-BoldItalic.afm +0 -2384
- data/vendor/prawn-core/data/fonts/Times-Italic.afm +0 -2667
- data/vendor/prawn-core/data/fonts/Times-Roman.afm +0 -2419
- data/vendor/prawn-core/data/fonts/ZapfDingbats.afm +0 -225
- data/vendor/prawn-core/data/fonts/comicsans.ttf +0 -0
- data/vendor/prawn-core/data/fonts/gkai00mp.ttf +0 -0
- data/vendor/prawn-core/data/images/16bit.alpha +0 -0
- data/vendor/prawn-core/data/images/16bit.dat +0 -0
- data/vendor/prawn-core/data/images/16bit.png +0 -0
- data/vendor/prawn-core/data/images/arrow.png +0 -0
- data/vendor/prawn-core/data/images/arrow2.png +0 -0
- data/vendor/prawn-core/data/images/barcode_issue.png +0 -0
- data/vendor/prawn-core/data/images/dice.alpha +0 -0
- data/vendor/prawn-core/data/images/dice.dat +0 -0
- data/vendor/prawn-core/data/images/dice.png +0 -0
- data/vendor/prawn-core/data/images/dice_interlaced.png +0 -0
- data/vendor/prawn-core/data/images/fractal.jpg +0 -0
- data/vendor/prawn-core/data/images/letterhead.jpg +0 -0
- data/vendor/prawn-core/data/images/page_white_text.alpha +0 -0
- data/vendor/prawn-core/data/images/page_white_text.dat +0 -0
- data/vendor/prawn-core/data/images/page_white_text.png +0 -0
- data/vendor/prawn-core/data/images/pigs.jpg +0 -0
- data/vendor/prawn-core/data/images/rails.dat +0 -0
- data/vendor/prawn-core/data/images/rails.png +0 -0
- data/vendor/prawn-core/data/images/ruport.png +0 -0
- data/vendor/prawn-core/data/images/ruport_data.dat +0 -0
- data/vendor/prawn-core/data/images/ruport_transparent.png +0 -0
- data/vendor/prawn-core/data/images/ruport_type0.png +0 -0
- data/vendor/prawn-core/data/images/stef.jpg +0 -0
- data/vendor/prawn-core/data/images/tru256.bmp +0 -0
- data/vendor/prawn-core/data/images/web-links.dat +0 -1
- data/vendor/prawn-core/data/images/web-links.png +0 -0
- data/vendor/prawn-core/data/shift_jis_text.txt +0 -1
- data/vendor/prawn-core/examples/bounding_box/bounding_boxes.rb +0 -43
- data/vendor/prawn-core/examples/bounding_box/indentation.rb +0 -34
- data/vendor/prawn-core/examples/bounding_box/russian_boxes.rb +0 -36
- data/vendor/prawn-core/examples/bounding_box/stretched_nesting.rb +0 -67
- data/vendor/prawn-core/examples/column_box/column_box_example.rb +0 -43
- data/vendor/prawn-core/examples/example_helper.rb +0 -3
- data/vendor/prawn-core/examples/general/background.rb +0 -23
- data/vendor/prawn-core/examples/general/canvas.rb +0 -15
- data/vendor/prawn-core/examples/general/margin.rb +0 -36
- data/vendor/prawn-core/examples/general/measurement_units.rb +0 -51
- data/vendor/prawn-core/examples/general/metadata-info.rb +0 -16
- data/vendor/prawn-core/examples/general/multi_page_layout.rb +0 -18
- data/vendor/prawn-core/examples/general/page_geometry.rb +0 -31
- data/vendor/prawn-core/examples/general/page_numbering.rb +0 -15
- data/vendor/prawn-core/examples/general/stamp.rb +0 -45
- data/vendor/prawn-core/examples/graphics/basic_images.rb +0 -23
- data/vendor/prawn-core/examples/graphics/cmyk.rb +0 -12
- data/vendor/prawn-core/examples/graphics/curves.rb +0 -11
- data/vendor/prawn-core/examples/graphics/hexagon.rb +0 -13
- data/vendor/prawn-core/examples/graphics/image_fit.rb +0 -15
- data/vendor/prawn-core/examples/graphics/image_flow.rb +0 -37
- data/vendor/prawn-core/examples/graphics/image_position.rb +0 -17
- data/vendor/prawn-core/examples/graphics/line.rb +0 -32
- data/vendor/prawn-core/examples/graphics/png_types.rb +0 -22
- data/vendor/prawn-core/examples/graphics/polygons.rb +0 -16
- data/vendor/prawn-core/examples/graphics/remote_images.rb +0 -12
- data/vendor/prawn-core/examples/graphics/ruport_style_helpers.rb +0 -19
- data/vendor/prawn-core/examples/graphics/stroke_bounds.rb +0 -20
- data/vendor/prawn-core/examples/graphics/stroke_cap_and_join.rb +0 -45
- data/vendor/prawn-core/examples/graphics/stroke_dash.rb +0 -42
- data/vendor/prawn-core/examples/graphics/transparency.rb +0 -26
- data/vendor/prawn-core/examples/m17n/chinese_text_wrapping.rb +0 -19
- data/vendor/prawn-core/examples/m17n/euro.rb +0 -15
- data/vendor/prawn-core/examples/m17n/sjis.rb +0 -28
- data/vendor/prawn-core/examples/m17n/utf8.rb +0 -13
- data/vendor/prawn-core/examples/m17n/win_ansi_charset.rb +0 -54
- data/vendor/prawn-core/examples/text/alignment.rb +0 -18
- data/vendor/prawn-core/examples/text/dfont.rb +0 -48
- data/vendor/prawn-core/examples/text/family_based_styling.rb +0 -24
- data/vendor/prawn-core/examples/text/font_calculations.rb +0 -91
- data/vendor/prawn-core/examples/text/font_size.rb +0 -33
- data/vendor/prawn-core/examples/text/kerning.rb +0 -30
- data/vendor/prawn-core/examples/text/simple_text.rb +0 -17
- data/vendor/prawn-core/examples/text/simple_text_ttf.rb +0 -17
- data/vendor/prawn-core/examples/text/span.rb +0 -29
- data/vendor/prawn-core/examples/text/text_box.rb +0 -25
- data/vendor/prawn-core/examples/text/text_box_returning_excess.rb +0 -51
- data/vendor/prawn-core/examples/text/text_flow.rb +0 -67
- data/vendor/prawn-core/lib/prawn/byte_string.rb +0 -7
- data/vendor/prawn-core/lib/prawn/compatibility.rb +0 -38
- data/vendor/prawn-core/lib/prawn/core.rb +0 -85
- data/vendor/prawn-core/lib/prawn/document.rb +0 -534
- data/vendor/prawn-core/lib/prawn/document/annotations.rb +0 -65
- data/vendor/prawn-core/lib/prawn/document/bounding_box.rb +0 -390
- data/vendor/prawn-core/lib/prawn/document/column_box.rb +0 -102
- data/vendor/prawn-core/lib/prawn/document/destinations.rb +0 -92
- data/vendor/prawn-core/lib/prawn/document/internals.rb +0 -180
- data/vendor/prawn-core/lib/prawn/document/page_geometry.rb +0 -153
- data/vendor/prawn-core/lib/prawn/document/snapshot.rb +0 -71
- data/vendor/prawn-core/lib/prawn/document/span.rb +0 -55
- data/vendor/prawn-core/lib/prawn/document/text.rb +0 -184
- data/vendor/prawn-core/lib/prawn/document/text/box.rb +0 -90
- data/vendor/prawn-core/lib/prawn/document/text/wrapping.rb +0 -62
- data/vendor/prawn-core/lib/prawn/encoding.rb +0 -121
- data/vendor/prawn-core/lib/prawn/errors.rb +0 -61
- data/vendor/prawn-core/lib/prawn/font.rb +0 -297
- data/vendor/prawn-core/lib/prawn/font/afm.rb +0 -202
- data/vendor/prawn-core/lib/prawn/font/dfont.rb +0 -34
- data/vendor/prawn-core/lib/prawn/font/ttf.rb +0 -329
- data/vendor/prawn-core/lib/prawn/graphics.rb +0 -264
- data/vendor/prawn-core/lib/prawn/graphics/cap_style.rb +0 -35
- data/vendor/prawn-core/lib/prawn/graphics/color.rb +0 -141
- data/vendor/prawn-core/lib/prawn/graphics/dash.rb +0 -69
- data/vendor/prawn-core/lib/prawn/graphics/join_style.rb +0 -35
- data/vendor/prawn-core/lib/prawn/graphics/transparency.rb +0 -56
- data/vendor/prawn-core/lib/prawn/images.rb +0 -339
- data/vendor/prawn-core/lib/prawn/images/jpg.rb +0 -46
- data/vendor/prawn-core/lib/prawn/images/png.rb +0 -219
- data/vendor/prawn-core/lib/prawn/literal_string.rb +0 -14
- data/vendor/prawn-core/lib/prawn/measurement_extensions.rb +0 -46
- data/vendor/prawn-core/lib/prawn/measurements.rb +0 -71
- data/vendor/prawn-core/lib/prawn/name_tree.rb +0 -166
- data/vendor/prawn-core/lib/prawn/object_store.rb +0 -63
- data/vendor/prawn-core/lib/prawn/pdf_object.rb +0 -81
- data/vendor/prawn-core/lib/prawn/reference.rb +0 -72
- data/vendor/prawn-core/lib/prawn/stamp.rb +0 -87
- data/vendor/prawn-core/meta/Rakefile +0 -62
- data/vendor/prawn-core/meta/lib/prawn.rb +0 -2
- data/vendor/prawn-core/reference_pdfs/alignment.pdf +0 -229
- data/vendor/prawn-core/reference_pdfs/background.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/basic_images.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/bounding_boxes.pdf +0 -128
- data/vendor/prawn-core/reference_pdfs/canvas.pdf +0 -78
- data/vendor/prawn-core/reference_pdfs/chinese_flow.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/cmyk.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/column_box.pdf +0 -3671
- data/vendor/prawn-core/reference_pdfs/curves.pdf +0 -62
- data/vendor/prawn-core/reference_pdfs/dfont.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/euro.pdf +0 -75
- data/vendor/prawn-core/reference_pdfs/family_style.pdf +0 -286
- data/vendor/prawn-core/reference_pdfs/flow.pdf +0 -964
- data/vendor/prawn-core/reference_pdfs/font_calculations.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/font_size.pdf +0 -142
- data/vendor/prawn-core/reference_pdfs/hexagon.pdf +0 -61
- data/vendor/prawn-core/reference_pdfs/image-flow.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/image_fit.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/image_position.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/indentation.pdf +0 -124
- data/vendor/prawn-core/reference_pdfs/kerning.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/landscape_a4.pdf +0 -52
- data/vendor/prawn-core/reference_pdfs/landscape_legal.pdf +0 -52
- data/vendor/prawn-core/reference_pdfs/landscape_letter.pdf +0 -52
- data/vendor/prawn-core/reference_pdfs/lines.pdf +0 -116
- data/vendor/prawn-core/reference_pdfs/margin.pdf +0 -3850
- data/vendor/prawn-core/reference_pdfs/measurement_units.pdf +0 -4667
- data/vendor/prawn-core/reference_pdfs/metadata-info.pdf +0 -88
- data/vendor/prawn-core/reference_pdfs/multi-layout.pdf +0 -209
- data/vendor/prawn-core/reference_pdfs/page_with_numbering.pdf +0 -156
- data/vendor/prawn-core/reference_pdfs/png_types.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/portrait_a4.pdf +0 -52
- data/vendor/prawn-core/reference_pdfs/portrait_legal.pdf +0 -52
- data/vendor/prawn-core/reference_pdfs/portrait_letter.pdf +0 -52
- data/vendor/prawn-core/reference_pdfs/pretty_polygons.pdf +0 -122
- data/vendor/prawn-core/reference_pdfs/remote_images.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/ruport.pdf +0 -101
- data/vendor/prawn-core/reference_pdfs/russian_boxes.pdf +0 -2780
- data/vendor/prawn-core/reference_pdfs/simple_text.pdf +0 -136
- data/vendor/prawn-core/reference_pdfs/simple_text_ttf.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/sjis.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/span.pdf +0 -1975
- data/vendor/prawn-core/reference_pdfs/stamp.pdf +0 -696
- data/vendor/prawn-core/reference_pdfs/stretched_nesting.pdf +0 -200
- data/vendor/prawn-core/reference_pdfs/stroke_bounds.pdf +0 -135
- data/vendor/prawn-core/reference_pdfs/stroke_cap_and_join.pdf +0 -80
- data/vendor/prawn-core/reference_pdfs/stroke_dash.pdf +0 -457
- data/vendor/prawn-core/reference_pdfs/text_box.pdf +0 -315
- data/vendor/prawn-core/reference_pdfs/text_box_returning_excess.pdf +0 -271
- data/vendor/prawn-core/reference_pdfs/transparency.pdf +0 -347
- data/vendor/prawn-core/reference_pdfs/utf8.pdf +0 -0
- data/vendor/prawn-core/reference_pdfs/win-ansi.pdf +0 -6172
- data/vendor/prawn-core/spec/annotations_spec.rb +0 -90
- data/vendor/prawn-core/spec/bounding_box_spec.rb +0 -185
- data/vendor/prawn-core/spec/destinations_spec.rb +0 -15
- data/vendor/prawn-core/spec/document_spec.rb +0 -231
- data/vendor/prawn-core/spec/font_spec.rb +0 -273
- data/vendor/prawn-core/spec/graphics_spec.rb +0 -209
- data/vendor/prawn-core/spec/images_spec.rb +0 -79
- data/vendor/prawn-core/spec/jpg_spec.rb +0 -25
- data/vendor/prawn-core/spec/measurement_units_spec.rb +0 -23
- data/vendor/prawn-core/spec/name_tree_spec.rb +0 -112
- data/vendor/prawn-core/spec/object_store_spec.rb +0 -42
- data/vendor/prawn-core/spec/pdf_object_spec.rb +0 -122
- data/vendor/prawn-core/spec/png_spec.rb +0 -236
- data/vendor/prawn-core/spec/reference_spec.rb +0 -82
- data/vendor/prawn-core/spec/snapshot_spec.rb +0 -115
- data/vendor/prawn-core/spec/span_spec.rb +0 -45
- data/vendor/prawn-core/spec/spec_helper.rb +0 -20
- data/vendor/prawn-core/spec/stamp_spec.rb +0 -98
- data/vendor/prawn-core/spec/stroke_styles_spec.rb +0 -152
- data/vendor/prawn-core/spec/text_box_spec.rb +0 -109
- data/vendor/prawn-core/spec/text_spec.rb +0 -185
- data/vendor/prawn-core/spec/transparency_spec.rb +0 -61
- data/vendor/prawn-core/vendor/pdf-inspector/README +0 -18
- data/vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector.rb +0 -26
- data/vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb +0 -18
- data/vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/graphics.rb +0 -119
- data/vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/page.rb +0 -25
- data/vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/text.rb +0 -31
- data/vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/xobject.rb +0 -19
- data/vendor/prawn-core/vendor/ttfunk/data/fonts/DejaVuSans.ttf +0 -0
- data/vendor/prawn-core/vendor/ttfunk/data/fonts/comicsans.ttf +0 -0
- data/vendor/prawn-core/vendor/ttfunk/example.rb +0 -45
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk.rb +0 -102
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/directory.rb +0 -17
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/encoding/mac_roman.rb +0 -88
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/encoding/windows_1252.rb +0 -69
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/reader.rb +0 -44
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/resource_file.rb +0 -78
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset.rb +0 -18
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/base.rb +0 -141
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/mac_roman.rb +0 -46
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/unicode.rb +0 -48
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/unicode_8bit.rb +0 -63
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/windows_1252.rb +0 -51
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset_collection.rb +0 -72
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table.rb +0 -46
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap.rb +0 -34
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap/format00.rb +0 -54
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap/format04.rb +0 -126
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap/subtable.rb +0 -79
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/glyf.rb +0 -64
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/glyf/compound.rb +0 -81
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/glyf/simple.rb +0 -37
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/head.rb +0 -44
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/hhea.rb +0 -41
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/hmtx.rb +0 -47
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/kern.rb +0 -79
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/kern/format0.rb +0 -62
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/loca.rb +0 -43
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/maxp.rb +0 -40
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/name.rb +0 -119
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/os2.rb +0 -78
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post.rb +0 -91
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format10.rb +0 -43
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format20.rb +0 -35
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format25.rb +0 -23
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format30.rb +0 -17
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format40.rb +0 -17
- data/vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/simple.rb +0 -14
- data/vendor/prawn-core/www/index.html +0 -196
- data/vendor/prawn-core/www/media/bounding_boxes.pdf +0 -146
- data/vendor/prawn-core/www/media/bounding_boxes.png +0 -0
- data/vendor/prawn-core/www/media/bounding_boxes_out.png +0 -0
- data/vendor/prawn-core/www/media/fancy_table.pdf +0 -350
- data/vendor/prawn-core/www/media/image.pdf +0 -0
- data/vendor/prawn-core/www/media/images.png +0 -0
- data/vendor/prawn-core/www/media/prawn_logo.png +0 -0
- data/vendor/prawn-core/www/media/tables.png +0 -0
- data/vendor/prawn-core/www/media/utf8.pdf +0 -0
- data/vendor/prawn-core/www/media/utf8.png +0 -0
- data/vendor/prawn-core/www/prawn-Chinese.html +0 -113
- data/vendor/prawn-core/www/prawn.css +0 -86
- data/vendor/prawn-core/www/twilight.css +0 -266
data/README
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
More to come
|
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake/testtask'
|
|
4
4
|
require "rake/rdoctask"
|
5
5
|
require "rake/gempackagetask"
|
6
6
|
|
7
|
-
PRAWN_LAYOUT_VERSION = "0.
|
7
|
+
PRAWN_LAYOUT_VERSION = "0.7.1"
|
8
8
|
|
9
9
|
task :default => [:test]
|
10
10
|
|
@@ -24,7 +24,8 @@ end
|
|
24
24
|
|
25
25
|
desc "genrates documentation"
|
26
26
|
Rake::RDocTask.new do |rdoc|
|
27
|
-
rdoc.rdoc_files.include( "lib/" )
|
27
|
+
rdoc.rdoc_files.include( "README", "lib/" )
|
28
|
+
rdoc.main = "README"
|
28
29
|
rdoc.rdoc_dir = "doc/html"
|
29
30
|
rdoc.title = "Prawn Documentation"
|
30
31
|
end
|
@@ -51,7 +52,9 @@ spec = Gem::Specification.new do |spec|
|
|
51
52
|
|
52
53
|
spec.test_files = Dir[ "test/*_test.rb" ]
|
53
54
|
spec.has_rdoc = true
|
54
|
-
spec.
|
55
|
+
spec.extra_rdoc_files = %w{README}
|
56
|
+
spec.rdoc_options << '--title' << 'Prawn Documentation' <<
|
57
|
+
'--main' << 'README' << '-q'
|
55
58
|
spec.author = "Gregory Brown"
|
56
59
|
spec.email = " gregory.t.brown@gmail.com"
|
57
60
|
spec.rubyforge_project = "prawn"
|
data/lib/prawn/layout.rb
CHANGED
data/lib/prawn/layout/page.rb
CHANGED
@@ -47,46 +47,6 @@ module Prawn
|
|
47
47
|
:height => bounds.height - (margin * 2), &block
|
48
48
|
end
|
49
49
|
|
50
|
-
# A header is a LazyBoundingBox drawn relative to the margins that can be
|
51
|
-
# repeated on every page of the document.
|
52
|
-
#
|
53
|
-
# Unless <tt>:width</tt> or <tt>:height</tt> are specified, the margin_box
|
54
|
-
# width and height are used.
|
55
|
-
#
|
56
|
-
# header margin_box.top_left do
|
57
|
-
# text "Here's My Fancy Header", :size => 25, :align => :center
|
58
|
-
# stroke_horizontal_rule
|
59
|
-
# end
|
60
|
-
#
|
61
|
-
def header(top_left,options={},&block)
|
62
|
-
@header = repeating_page_element(top_left,options,&block)
|
63
|
-
end
|
64
|
-
|
65
|
-
# A footer is a LazyBoundingBox drawn relative to the margins that can be
|
66
|
-
# repeated on every page of the document.
|
67
|
-
#
|
68
|
-
# Unless <tt>:width</tt> or <tt>:height</tt> are specified, the margin_box
|
69
|
-
# width and height are used.
|
70
|
-
#
|
71
|
-
# footer [margin_box.left, margin_box.bottom + 25] do
|
72
|
-
# stroke_horizontal_rule
|
73
|
-
# text "And here's a sexy footer", :size => 16
|
74
|
-
# end
|
75
|
-
#
|
76
|
-
def footer(top_left,options={},&block)
|
77
|
-
@footer = repeating_page_element(top_left,options,&block)
|
78
|
-
end
|
79
|
-
|
80
|
-
private
|
81
|
-
|
82
|
-
def repeating_page_element(top_left,options={},&block)
|
83
|
-
r = LazyBoundingBox.new(self, translate(top_left),
|
84
|
-
:width => options[:width] || margin_box.width,
|
85
|
-
:height => options[:height] || margin_box.height )
|
86
|
-
r.action(&block)
|
87
|
-
return r
|
88
|
-
end
|
89
|
-
|
90
50
|
class LazyBoundingBox < BoundingBox
|
91
51
|
|
92
52
|
# Defines the block to be executed by LazyBoundingBox#draw.
|
data/lib/prawn/table/cell.rb
CHANGED
@@ -115,10 +115,10 @@ module Prawn
|
|
115
115
|
text_height = 0
|
116
116
|
if @font_size
|
117
117
|
@document.font_size(@font_size) do
|
118
|
-
text_height = @document.height_of(@text, text_area_width)
|
118
|
+
text_height = @document.height_of(@text, :width => text_area_width)
|
119
119
|
end
|
120
120
|
else
|
121
|
-
text_height = @document.height_of(@text, text_area_width)
|
121
|
+
text_height = @document.height_of(@text, :width => text_area_width)
|
122
122
|
end
|
123
123
|
text_height
|
124
124
|
end
|
@@ -129,12 +129,13 @@ module Prawn
|
|
129
129
|
margin = @border_width / 2.0
|
130
130
|
|
131
131
|
if @background_color
|
132
|
-
@document.
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
132
|
+
old_color = @document.fill_color || "000000"
|
133
|
+
@document.fill_color(@background_color)
|
134
|
+
h = borders.include?(:bottom) ?
|
135
|
+
height - ( 2 * margin ) : height + margin
|
136
|
+
@document.fill_rectangle [x, y ], width, h
|
137
|
+
|
138
|
+
@document.fill_color(old_color)
|
138
139
|
end
|
139
140
|
|
140
141
|
if @border_width > 0
|
@@ -177,17 +178,18 @@ module Prawn
|
|
177
178
|
y - @vertical_padding],
|
178
179
|
:width => text_area_width,
|
179
180
|
:height => height - @vertical_padding) do
|
180
|
-
@document.move_down((@document.font.line_gap
|
181
|
+
@document.move_down((@document.font.line_gap +
|
182
|
+
@document.font.descender) / 2)
|
181
183
|
|
182
184
|
options = {:align => @align, :final_gap => false}
|
183
185
|
|
184
186
|
options[:size] = @font_size if @font_size
|
185
187
|
options[:style] = @font_style if @font_style
|
186
188
|
|
187
|
-
@document.
|
188
|
-
|
189
|
-
|
190
|
-
|
189
|
+
old_color = @document.fill_color || "000000"
|
190
|
+
@document.fill_color @text_color if @text_color
|
191
|
+
@document.text @text, options
|
192
|
+
@document.fill_color "000000"
|
191
193
|
end
|
192
194
|
end
|
193
195
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregory Brown
|
@@ -9,341 +9,63 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-03 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: An extension to Prawn that provides table support and other layout functionality
|
17
17
|
email: " gregory.t.brown@gmail.com"
|
18
18
|
executables: []
|
19
19
|
|
20
20
|
extensions: []
|
21
21
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README
|
24
24
|
files:
|
25
|
-
- examples/
|
26
|
-
- examples/grid/bounding_boxes.rb
|
25
|
+
- examples/grid
|
27
26
|
- examples/grid/column_gutter_grid.rb
|
28
|
-
- examples/grid/multi_boxes.rb
|
29
27
|
- examples/grid/show_grid.rb
|
28
|
+
- examples/grid/multi_boxes.rb
|
29
|
+
- examples/grid/bounding_boxes.rb
|
30
30
|
- examples/grid/simple_grid.rb
|
31
|
-
- examples/page_layout
|
32
|
-
- examples/page_layout/lazy_bounding_boxes.rb
|
31
|
+
- examples/page_layout
|
33
32
|
- examples/page_layout/padded_box.rb
|
34
|
-
- examples/
|
35
|
-
- examples/
|
33
|
+
- examples/page_layout/lazy_bounding_boxes.rb
|
34
|
+
- examples/example_helper.rb
|
35
|
+
- examples/table
|
36
|
+
- examples/table/table_header_underline.rb
|
36
37
|
- examples/table/currency.csv
|
38
|
+
- examples/table/addressbook.csv
|
37
39
|
- examples/table/fancy_table.rb
|
38
40
|
- examples/table/table.rb
|
39
|
-
- examples/table/
|
41
|
+
- examples/table/table_widths.rb
|
40
42
|
- examples/table/table_border_color.rb
|
43
|
+
- examples/table/table_alignment.rb
|
44
|
+
- examples/table/cell.rb
|
41
45
|
- examples/table/table_colspan.rb
|
42
46
|
- examples/table/table_header_color.rb
|
43
|
-
-
|
44
|
-
- examples/table/table_widths.rb
|
45
|
-
- lib/prawn/layout/grid.rb
|
46
|
-
- lib/prawn/layout/page.rb
|
47
|
+
- lib/prawn
|
47
48
|
- lib/prawn/layout.rb
|
48
|
-
- lib/prawn/table/cell.rb
|
49
49
|
- lib/prawn/table.rb
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
50
|
+
- lib/prawn/table
|
51
|
+
- lib/prawn/table/cell.rb
|
52
|
+
- lib/prawn/layout
|
53
|
+
- lib/prawn/layout/grid.rb
|
54
|
+
- lib/prawn/layout/page.rb
|
53
55
|
- spec/table_spec.rb
|
54
|
-
-
|
55
|
-
-
|
56
|
-
- vendor/prawn-core/bench/ttf_text_bench.rb
|
57
|
-
- vendor/prawn-core/bugs/canvas_sets_y_to_0.rb
|
58
|
-
- vendor/prawn-core/bugs/png_barcode_issue.rb
|
59
|
-
- vendor/prawn-core/bugs/resolved/canvas_sets_y_to_0.rb
|
60
|
-
- vendor/prawn-core/COPYING
|
61
|
-
- vendor/prawn-core/data/encodings/win_ansi.txt
|
62
|
-
- vendor/prawn-core/data/fonts/Action Man.dfont
|
63
|
-
- vendor/prawn-core/data/fonts/Activa.ttf
|
64
|
-
- vendor/prawn-core/data/fonts/Chalkboard.ttf
|
65
|
-
- vendor/prawn-core/data/fonts/comicsans.ttf
|
66
|
-
- vendor/prawn-core/data/fonts/Courier-Bold.afm
|
67
|
-
- vendor/prawn-core/data/fonts/Courier-BoldOblique.afm
|
68
|
-
- vendor/prawn-core/data/fonts/Courier-Oblique.afm
|
69
|
-
- vendor/prawn-core/data/fonts/Courier.afm
|
70
|
-
- vendor/prawn-core/data/fonts/DejaVuSans.ttf
|
71
|
-
- vendor/prawn-core/data/fonts/Dustismo_Roman.ttf
|
72
|
-
- vendor/prawn-core/data/fonts/gkai00mp.ttf
|
73
|
-
- vendor/prawn-core/data/fonts/Helvetica-Bold.afm
|
74
|
-
- vendor/prawn-core/data/fonts/Helvetica-BoldOblique.afm
|
75
|
-
- vendor/prawn-core/data/fonts/Helvetica-Oblique.afm
|
76
|
-
- vendor/prawn-core/data/fonts/Helvetica.afm
|
77
|
-
- vendor/prawn-core/data/fonts/MustRead.html
|
78
|
-
- vendor/prawn-core/data/fonts/Symbol.afm
|
79
|
-
- vendor/prawn-core/data/fonts/Times-Bold.afm
|
80
|
-
- vendor/prawn-core/data/fonts/Times-BoldItalic.afm
|
81
|
-
- vendor/prawn-core/data/fonts/Times-Italic.afm
|
82
|
-
- vendor/prawn-core/data/fonts/Times-Roman.afm
|
83
|
-
- vendor/prawn-core/data/fonts/ZapfDingbats.afm
|
84
|
-
- vendor/prawn-core/data/images/16bit.alpha
|
85
|
-
- vendor/prawn-core/data/images/16bit.dat
|
86
|
-
- vendor/prawn-core/data/images/16bit.png
|
87
|
-
- vendor/prawn-core/data/images/arrow.png
|
88
|
-
- vendor/prawn-core/data/images/arrow2.png
|
89
|
-
- vendor/prawn-core/data/images/barcode_issue.png
|
90
|
-
- vendor/prawn-core/data/images/dice.alpha
|
91
|
-
- vendor/prawn-core/data/images/dice.dat
|
92
|
-
- vendor/prawn-core/data/images/dice.png
|
93
|
-
- vendor/prawn-core/data/images/dice_interlaced.png
|
94
|
-
- vendor/prawn-core/data/images/fractal.jpg
|
95
|
-
- vendor/prawn-core/data/images/letterhead.jpg
|
96
|
-
- vendor/prawn-core/data/images/page_white_text.alpha
|
97
|
-
- vendor/prawn-core/data/images/page_white_text.dat
|
98
|
-
- vendor/prawn-core/data/images/page_white_text.png
|
99
|
-
- vendor/prawn-core/data/images/pigs.jpg
|
100
|
-
- vendor/prawn-core/data/images/rails.dat
|
101
|
-
- vendor/prawn-core/data/images/rails.png
|
102
|
-
- vendor/prawn-core/data/images/ruport.png
|
103
|
-
- vendor/prawn-core/data/images/ruport_data.dat
|
104
|
-
- vendor/prawn-core/data/images/ruport_transparent.png
|
105
|
-
- vendor/prawn-core/data/images/ruport_type0.png
|
106
|
-
- vendor/prawn-core/data/images/stef.jpg
|
107
|
-
- vendor/prawn-core/data/images/tru256.bmp
|
108
|
-
- vendor/prawn-core/data/images/web-links.dat
|
109
|
-
- vendor/prawn-core/data/images/web-links.png
|
110
|
-
- vendor/prawn-core/data/shift_jis_text.txt
|
111
|
-
- vendor/prawn-core/examples/bounding_box/bounding_boxes.rb
|
112
|
-
- vendor/prawn-core/examples/bounding_box/indentation.rb
|
113
|
-
- vendor/prawn-core/examples/bounding_box/russian_boxes.rb
|
114
|
-
- vendor/prawn-core/examples/bounding_box/stretched_nesting.rb
|
115
|
-
- vendor/prawn-core/examples/column_box/column_box_example.rb
|
116
|
-
- vendor/prawn-core/examples/example_helper.rb
|
117
|
-
- vendor/prawn-core/examples/general/background.rb
|
118
|
-
- vendor/prawn-core/examples/general/canvas.rb
|
119
|
-
- vendor/prawn-core/examples/general/margin.rb
|
120
|
-
- vendor/prawn-core/examples/general/measurement_units.rb
|
121
|
-
- vendor/prawn-core/examples/general/metadata-info.rb
|
122
|
-
- vendor/prawn-core/examples/general/multi_page_layout.rb
|
123
|
-
- vendor/prawn-core/examples/general/page_geometry.rb
|
124
|
-
- vendor/prawn-core/examples/general/page_numbering.rb
|
125
|
-
- vendor/prawn-core/examples/general/stamp.rb
|
126
|
-
- vendor/prawn-core/examples/graphics/basic_images.rb
|
127
|
-
- vendor/prawn-core/examples/graphics/cmyk.rb
|
128
|
-
- vendor/prawn-core/examples/graphics/curves.rb
|
129
|
-
- vendor/prawn-core/examples/graphics/hexagon.rb
|
130
|
-
- vendor/prawn-core/examples/graphics/image_fit.rb
|
131
|
-
- vendor/prawn-core/examples/graphics/image_flow.rb
|
132
|
-
- vendor/prawn-core/examples/graphics/image_position.rb
|
133
|
-
- vendor/prawn-core/examples/graphics/line.rb
|
134
|
-
- vendor/prawn-core/examples/graphics/png_types.rb
|
135
|
-
- vendor/prawn-core/examples/graphics/polygons.rb
|
136
|
-
- vendor/prawn-core/examples/graphics/remote_images.rb
|
137
|
-
- vendor/prawn-core/examples/graphics/ruport_style_helpers.rb
|
138
|
-
- vendor/prawn-core/examples/graphics/stroke_bounds.rb
|
139
|
-
- vendor/prawn-core/examples/graphics/stroke_cap_and_join.rb
|
140
|
-
- vendor/prawn-core/examples/graphics/stroke_dash.rb
|
141
|
-
- vendor/prawn-core/examples/graphics/transparency.rb
|
142
|
-
- vendor/prawn-core/examples/m17n/chinese_text_wrapping.rb
|
143
|
-
- vendor/prawn-core/examples/m17n/euro.rb
|
144
|
-
- vendor/prawn-core/examples/m17n/sjis.rb
|
145
|
-
- vendor/prawn-core/examples/m17n/utf8.rb
|
146
|
-
- vendor/prawn-core/examples/m17n/win_ansi_charset.rb
|
147
|
-
- vendor/prawn-core/examples/text/alignment.rb
|
148
|
-
- vendor/prawn-core/examples/text/dfont.rb
|
149
|
-
- vendor/prawn-core/examples/text/family_based_styling.rb
|
150
|
-
- vendor/prawn-core/examples/text/font_calculations.rb
|
151
|
-
- vendor/prawn-core/examples/text/font_size.rb
|
152
|
-
- vendor/prawn-core/examples/text/kerning.rb
|
153
|
-
- vendor/prawn-core/examples/text/simple_text.rb
|
154
|
-
- vendor/prawn-core/examples/text/simple_text_ttf.rb
|
155
|
-
- vendor/prawn-core/examples/text/span.rb
|
156
|
-
- vendor/prawn-core/examples/text/text_box.rb
|
157
|
-
- vendor/prawn-core/examples/text/text_box_returning_excess.rb
|
158
|
-
- vendor/prawn-core/examples/text/text_flow.rb
|
159
|
-
- vendor/prawn-core/HACKING
|
160
|
-
- vendor/prawn-core/lib/prawn/byte_string.rb
|
161
|
-
- vendor/prawn-core/lib/prawn/compatibility.rb
|
162
|
-
- vendor/prawn-core/lib/prawn/core.rb
|
163
|
-
- vendor/prawn-core/lib/prawn/document/annotations.rb
|
164
|
-
- vendor/prawn-core/lib/prawn/document/bounding_box.rb
|
165
|
-
- vendor/prawn-core/lib/prawn/document/column_box.rb
|
166
|
-
- vendor/prawn-core/lib/prawn/document/destinations.rb
|
167
|
-
- vendor/prawn-core/lib/prawn/document/internals.rb
|
168
|
-
- vendor/prawn-core/lib/prawn/document/page_geometry.rb
|
169
|
-
- vendor/prawn-core/lib/prawn/document/snapshot.rb
|
170
|
-
- vendor/prawn-core/lib/prawn/document/span.rb
|
171
|
-
- vendor/prawn-core/lib/prawn/document/text/box.rb
|
172
|
-
- vendor/prawn-core/lib/prawn/document/text/wrapping.rb
|
173
|
-
- vendor/prawn-core/lib/prawn/document/text.rb
|
174
|
-
- vendor/prawn-core/lib/prawn/document.rb
|
175
|
-
- vendor/prawn-core/lib/prawn/encoding.rb
|
176
|
-
- vendor/prawn-core/lib/prawn/errors.rb
|
177
|
-
- vendor/prawn-core/lib/prawn/font/afm.rb
|
178
|
-
- vendor/prawn-core/lib/prawn/font/dfont.rb
|
179
|
-
- vendor/prawn-core/lib/prawn/font/ttf.rb
|
180
|
-
- vendor/prawn-core/lib/prawn/font.rb
|
181
|
-
- vendor/prawn-core/lib/prawn/graphics/cap_style.rb
|
182
|
-
- vendor/prawn-core/lib/prawn/graphics/color.rb
|
183
|
-
- vendor/prawn-core/lib/prawn/graphics/dash.rb
|
184
|
-
- vendor/prawn-core/lib/prawn/graphics/join_style.rb
|
185
|
-
- vendor/prawn-core/lib/prawn/graphics/transparency.rb
|
186
|
-
- vendor/prawn-core/lib/prawn/graphics.rb
|
187
|
-
- vendor/prawn-core/lib/prawn/images/jpg.rb
|
188
|
-
- vendor/prawn-core/lib/prawn/images/png.rb
|
189
|
-
- vendor/prawn-core/lib/prawn/images.rb
|
190
|
-
- vendor/prawn-core/lib/prawn/literal_string.rb
|
191
|
-
- vendor/prawn-core/lib/prawn/measurement_extensions.rb
|
192
|
-
- vendor/prawn-core/lib/prawn/measurements.rb
|
193
|
-
- vendor/prawn-core/lib/prawn/name_tree.rb
|
194
|
-
- vendor/prawn-core/lib/prawn/object_store.rb
|
195
|
-
- vendor/prawn-core/lib/prawn/pdf_object.rb
|
196
|
-
- vendor/prawn-core/lib/prawn/reference.rb
|
197
|
-
- vendor/prawn-core/lib/prawn/stamp.rb
|
198
|
-
- vendor/prawn-core/LICENSE
|
199
|
-
- vendor/prawn-core/meta/lib/prawn.rb
|
200
|
-
- vendor/prawn-core/meta/Rakefile
|
201
|
-
- vendor/prawn-core/Rakefile
|
202
|
-
- vendor/prawn-core/README
|
203
|
-
- vendor/prawn-core/reference_pdfs/alignment.pdf
|
204
|
-
- vendor/prawn-core/reference_pdfs/background.pdf
|
205
|
-
- vendor/prawn-core/reference_pdfs/basic_images.pdf
|
206
|
-
- vendor/prawn-core/reference_pdfs/bounding_boxes.pdf
|
207
|
-
- vendor/prawn-core/reference_pdfs/canvas.pdf
|
208
|
-
- vendor/prawn-core/reference_pdfs/chinese_flow.pdf
|
209
|
-
- vendor/prawn-core/reference_pdfs/cmyk.pdf
|
210
|
-
- vendor/prawn-core/reference_pdfs/column_box.pdf
|
211
|
-
- vendor/prawn-core/reference_pdfs/curves.pdf
|
212
|
-
- vendor/prawn-core/reference_pdfs/dfont.pdf
|
213
|
-
- vendor/prawn-core/reference_pdfs/euro.pdf
|
214
|
-
- vendor/prawn-core/reference_pdfs/family_style.pdf
|
215
|
-
- vendor/prawn-core/reference_pdfs/flow.pdf
|
216
|
-
- vendor/prawn-core/reference_pdfs/font_calculations.pdf
|
217
|
-
- vendor/prawn-core/reference_pdfs/font_size.pdf
|
218
|
-
- vendor/prawn-core/reference_pdfs/hexagon.pdf
|
219
|
-
- vendor/prawn-core/reference_pdfs/image-flow.pdf
|
220
|
-
- vendor/prawn-core/reference_pdfs/image_fit.pdf
|
221
|
-
- vendor/prawn-core/reference_pdfs/image_position.pdf
|
222
|
-
- vendor/prawn-core/reference_pdfs/indentation.pdf
|
223
|
-
- vendor/prawn-core/reference_pdfs/kerning.pdf
|
224
|
-
- vendor/prawn-core/reference_pdfs/landscape_a4.pdf
|
225
|
-
- vendor/prawn-core/reference_pdfs/landscape_legal.pdf
|
226
|
-
- vendor/prawn-core/reference_pdfs/landscape_letter.pdf
|
227
|
-
- vendor/prawn-core/reference_pdfs/lines.pdf
|
228
|
-
- vendor/prawn-core/reference_pdfs/margin.pdf
|
229
|
-
- vendor/prawn-core/reference_pdfs/measurement_units.pdf
|
230
|
-
- vendor/prawn-core/reference_pdfs/metadata-info.pdf
|
231
|
-
- vendor/prawn-core/reference_pdfs/multi-layout.pdf
|
232
|
-
- vendor/prawn-core/reference_pdfs/page_with_numbering.pdf
|
233
|
-
- vendor/prawn-core/reference_pdfs/png_types.pdf
|
234
|
-
- vendor/prawn-core/reference_pdfs/portrait_a4.pdf
|
235
|
-
- vendor/prawn-core/reference_pdfs/portrait_legal.pdf
|
236
|
-
- vendor/prawn-core/reference_pdfs/portrait_letter.pdf
|
237
|
-
- vendor/prawn-core/reference_pdfs/pretty_polygons.pdf
|
238
|
-
- vendor/prawn-core/reference_pdfs/remote_images.pdf
|
239
|
-
- vendor/prawn-core/reference_pdfs/ruport.pdf
|
240
|
-
- vendor/prawn-core/reference_pdfs/russian_boxes.pdf
|
241
|
-
- vendor/prawn-core/reference_pdfs/simple_text.pdf
|
242
|
-
- vendor/prawn-core/reference_pdfs/simple_text_ttf.pdf
|
243
|
-
- vendor/prawn-core/reference_pdfs/sjis.pdf
|
244
|
-
- vendor/prawn-core/reference_pdfs/span.pdf
|
245
|
-
- vendor/prawn-core/reference_pdfs/stamp.pdf
|
246
|
-
- vendor/prawn-core/reference_pdfs/stretched_nesting.pdf
|
247
|
-
- vendor/prawn-core/reference_pdfs/stroke_bounds.pdf
|
248
|
-
- vendor/prawn-core/reference_pdfs/stroke_cap_and_join.pdf
|
249
|
-
- vendor/prawn-core/reference_pdfs/stroke_dash.pdf
|
250
|
-
- vendor/prawn-core/reference_pdfs/text_box.pdf
|
251
|
-
- vendor/prawn-core/reference_pdfs/text_box_returning_excess.pdf
|
252
|
-
- vendor/prawn-core/reference_pdfs/transparency.pdf
|
253
|
-
- vendor/prawn-core/reference_pdfs/utf8.pdf
|
254
|
-
- vendor/prawn-core/reference_pdfs/win-ansi.pdf
|
255
|
-
- vendor/prawn-core/spec/annotations_spec.rb
|
256
|
-
- vendor/prawn-core/spec/bounding_box_spec.rb
|
257
|
-
- vendor/prawn-core/spec/destinations_spec.rb
|
258
|
-
- vendor/prawn-core/spec/document_spec.rb
|
259
|
-
- vendor/prawn-core/spec/font_spec.rb
|
260
|
-
- vendor/prawn-core/spec/graphics_spec.rb
|
261
|
-
- vendor/prawn-core/spec/images_spec.rb
|
262
|
-
- vendor/prawn-core/spec/jpg_spec.rb
|
263
|
-
- vendor/prawn-core/spec/measurement_units_spec.rb
|
264
|
-
- vendor/prawn-core/spec/name_tree_spec.rb
|
265
|
-
- vendor/prawn-core/spec/object_store_spec.rb
|
266
|
-
- vendor/prawn-core/spec/pdf_object_spec.rb
|
267
|
-
- vendor/prawn-core/spec/png_spec.rb
|
268
|
-
- vendor/prawn-core/spec/reference_spec.rb
|
269
|
-
- vendor/prawn-core/spec/snapshot_spec.rb
|
270
|
-
- vendor/prawn-core/spec/span_spec.rb
|
271
|
-
- vendor/prawn-core/spec/spec_helper.rb
|
272
|
-
- vendor/prawn-core/spec/stamp_spec.rb
|
273
|
-
- vendor/prawn-core/spec/stroke_styles_spec.rb
|
274
|
-
- vendor/prawn-core/spec/text_box_spec.rb
|
275
|
-
- vendor/prawn-core/spec/text_spec.rb
|
276
|
-
- vendor/prawn-core/spec/transparency_spec.rb
|
277
|
-
- vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
|
278
|
-
- vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/graphics.rb
|
279
|
-
- vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/page.rb
|
280
|
-
- vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/text.rb
|
281
|
-
- vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/xobject.rb
|
282
|
-
- vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector.rb
|
283
|
-
- vendor/prawn-core/vendor/pdf-inspector/README
|
284
|
-
- vendor/prawn-core/vendor/ttfunk/data/fonts/comicsans.ttf
|
285
|
-
- vendor/prawn-core/vendor/ttfunk/data/fonts/DejaVuSans.ttf
|
286
|
-
- vendor/prawn-core/vendor/ttfunk/example.rb
|
287
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/directory.rb
|
288
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/encoding/mac_roman.rb
|
289
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/encoding/windows_1252.rb
|
290
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/reader.rb
|
291
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/resource_file.rb
|
292
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/base.rb
|
293
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/mac_roman.rb
|
294
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/unicode.rb
|
295
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/unicode_8bit.rb
|
296
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset/windows_1252.rb
|
297
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset.rb
|
298
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/subset_collection.rb
|
299
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap/format00.rb
|
300
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap/format04.rb
|
301
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap/subtable.rb
|
302
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/cmap.rb
|
303
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/glyf/compound.rb
|
304
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/glyf/simple.rb
|
305
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/glyf.rb
|
306
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/head.rb
|
307
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/hhea.rb
|
308
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/hmtx.rb
|
309
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/kern/format0.rb
|
310
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/kern.rb
|
311
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/loca.rb
|
312
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/maxp.rb
|
313
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/name.rb
|
314
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/os2.rb
|
315
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format10.rb
|
316
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format20.rb
|
317
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format25.rb
|
318
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format30.rb
|
319
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post/format40.rb
|
320
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/post.rb
|
321
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table/simple.rb
|
322
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk/table.rb
|
323
|
-
- vendor/prawn-core/vendor/ttfunk/lib/ttfunk.rb
|
324
|
-
- vendor/prawn-core/www/index.html
|
325
|
-
- vendor/prawn-core/www/media/bounding_boxes.pdf
|
326
|
-
- vendor/prawn-core/www/media/bounding_boxes.png
|
327
|
-
- vendor/prawn-core/www/media/bounding_boxes_out.png
|
328
|
-
- vendor/prawn-core/www/media/fancy_table.pdf
|
329
|
-
- vendor/prawn-core/www/media/image.pdf
|
330
|
-
- vendor/prawn-core/www/media/images.png
|
331
|
-
- vendor/prawn-core/www/media/prawn_logo.png
|
332
|
-
- vendor/prawn-core/www/media/tables.png
|
333
|
-
- vendor/prawn-core/www/media/utf8.pdf
|
334
|
-
- vendor/prawn-core/www/media/utf8.png
|
335
|
-
- vendor/prawn-core/www/prawn-Chinese.html
|
336
|
-
- vendor/prawn-core/www/prawn.css
|
337
|
-
- vendor/prawn-core/www/twilight.css
|
56
|
+
- spec/spec_helper.rb
|
57
|
+
- spec/grid_spec.rb
|
338
58
|
- Rakefile
|
59
|
+
- README
|
339
60
|
has_rdoc: true
|
340
61
|
homepage: http://prawn.majesticseacreature.com
|
341
|
-
licenses: []
|
342
|
-
|
343
62
|
post_install_message:
|
344
63
|
rdoc_options:
|
345
64
|
- --title
|
346
65
|
- Prawn Documentation
|
66
|
+
- --main
|
67
|
+
- README
|
68
|
+
- -q
|
347
69
|
require_paths:
|
348
70
|
- lib
|
349
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -361,9 +83,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
361
83
|
requirements: []
|
362
84
|
|
363
85
|
rubyforge_project: prawn
|
364
|
-
rubygems_version: 1.3.
|
86
|
+
rubygems_version: 1.3.1
|
365
87
|
signing_key:
|
366
|
-
specification_version:
|
88
|
+
specification_version: 2
|
367
89
|
summary: An extension to Prawn that provides table support and other layout functionality
|
368
90
|
test_files: []
|
369
91
|
|