prawn 0.11.1 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +10 -0
- data/COPYING +2 -2
- data/GPLv2 +340 -0
- data/GPLv3 +674 -0
- data/Gemfile +11 -0
- data/LICENSE +1 -1
- data/Rakefile +29 -38
- data/data/images/16bit.alpha +0 -0
- data/data/images/16bit.color +0 -0
- data/data/images/dice.alpha +0 -0
- data/data/images/dice.color +0 -0
- data/data/images/indexed_color.dat +0 -0
- data/data/images/indexed_color.png +0 -0
- data/data/images/page_white_text.alpha +0 -0
- data/data/images/page_white_text.color +0 -0
- data/data/pdfs/nested_pages.pdf +13 -13
- data/lib/prawn/document/bounding_box.rb +87 -12
- data/lib/prawn/document/column_box.rb +57 -28
- data/lib/prawn/document/graphics_state.rb +11 -74
- data/lib/prawn/document/internals.rb +25 -23
- data/lib/prawn/document/snapshot.rb +11 -8
- data/lib/prawn/document/span.rb +12 -10
- data/lib/prawn/document.rb +250 -194
- data/lib/prawn/encoding.rb +9 -10
- data/lib/prawn/errors.rb +18 -29
- data/lib/prawn/font/afm.rb +52 -41
- data/lib/prawn/font/dfont.rb +4 -3
- data/lib/prawn/font/ttf.rb +44 -48
- data/lib/prawn/font.rb +138 -88
- data/lib/prawn/font_metric_cache.rb +47 -0
- data/lib/prawn/graphics/cap_style.rb +4 -3
- data/lib/prawn/graphics/color.rb +13 -5
- data/lib/prawn/graphics/dash.rb +53 -31
- data/lib/prawn/graphics/join_style.rb +9 -7
- data/lib/prawn/graphics/patterns.rb +138 -0
- data/lib/prawn/graphics/transformation.rb +10 -9
- data/lib/prawn/graphics/transparency.rb +3 -1
- data/lib/prawn/graphics.rb +316 -61
- data/lib/prawn/image_handler.rb +36 -0
- data/lib/prawn/images/image.rb +49 -0
- data/lib/prawn/images/jpg.rb +21 -15
- data/lib/prawn/images/png.rb +62 -119
- data/lib/prawn/images.rb +89 -108
- data/lib/prawn/layout/grid.rb +66 -54
- data/lib/prawn/layout.rb +10 -15
- data/lib/prawn/measurement_extensions.rb +10 -6
- data/lib/prawn/measurements.rb +27 -21
- data/lib/prawn/outline.rb +6 -308
- data/lib/prawn/repeater.rb +11 -9
- data/lib/prawn/security/arcfour.rb +1 -0
- data/lib/prawn/security.rb +55 -33
- data/lib/prawn/soft_mask.rb +96 -0
- data/lib/prawn/stamp.rb +5 -3
- data/lib/prawn/table/cell/image.rb +69 -0
- data/lib/prawn/table/cell/in_table.rb +4 -2
- data/lib/prawn/table/cell/span_dummy.rb +93 -0
- data/lib/prawn/table/cell/subtable.rb +2 -2
- data/lib/prawn/table/cell/text.rb +44 -26
- data/lib/prawn/table/cell.rb +302 -50
- data/lib/prawn/table/cells.rb +147 -49
- data/lib/prawn/table/column_width_calculator.rb +61 -0
- data/lib/prawn/table.rb +297 -118
- data/lib/prawn/text/box.rb +21 -5
- data/lib/prawn/text/formatted/arranger.rb +290 -0
- data/lib/prawn/text/formatted/box.rb +103 -59
- data/lib/prawn/text/formatted/fragment.rb +34 -23
- data/lib/prawn/text/formatted/line_wrap.rb +266 -0
- data/lib/prawn/text/formatted/parser.rb +15 -5
- data/lib/prawn/text/formatted/wrap.rb +150 -0
- data/lib/prawn/text/formatted.rb +5 -4
- data/lib/prawn/text.rb +38 -24
- data/lib/prawn/utilities.rb +46 -0
- data/lib/prawn.rb +85 -20
- data/manual/basic_concepts/adding_pages.rb +27 -0
- data/manual/basic_concepts/basic_concepts.rb +34 -0
- data/manual/basic_concepts/creation.rb +39 -0
- data/manual/basic_concepts/cursor.rb +33 -0
- data/manual/basic_concepts/measurement.rb +25 -0
- data/manual/basic_concepts/origin.rb +38 -0
- data/manual/basic_concepts/other_cursor_helpers.rb +40 -0
- data/manual/bounding_box/bounding_box.rb +39 -0
- data/manual/bounding_box/bounds.rb +49 -0
- data/manual/bounding_box/canvas.rb +24 -0
- data/manual/bounding_box/creation.rb +23 -0
- data/manual/bounding_box/indentation.rb +46 -0
- data/manual/bounding_box/nesting.rb +45 -0
- data/manual/bounding_box/russian_boxes.rb +40 -0
- data/manual/bounding_box/stretchy.rb +31 -0
- data/manual/document_and_page_options/background.rb +27 -0
- data/manual/document_and_page_options/document_and_page_options.rb +32 -0
- data/manual/document_and_page_options/metadata.rb +23 -0
- data/manual/document_and_page_options/page_margins.rb +38 -0
- data/manual/document_and_page_options/page_size.rb +34 -0
- data/manual/document_and_page_options/print_scaling.rb +20 -0
- data/manual/example_file.rb +111 -0
- data/manual/example_helper.rb +411 -0
- data/manual/example_package.rb +53 -0
- data/manual/example_section.rb +46 -0
- data/manual/graphics/circle_and_ellipse.rb +22 -0
- data/manual/graphics/color.rb +24 -0
- data/manual/graphics/common_lines.rb +30 -0
- data/manual/graphics/fill_and_stroke.rb +42 -0
- data/manual/graphics/fill_rules.rb +37 -0
- data/manual/graphics/gradients.rb +37 -0
- data/manual/graphics/graphics.rb +58 -0
- data/manual/graphics/helper.rb +24 -0
- data/manual/graphics/line_width.rb +35 -0
- data/manual/graphics/lines_and_curves.rb +41 -0
- data/manual/graphics/polygon.rb +29 -0
- data/manual/graphics/rectangle.rb +21 -0
- data/manual/graphics/rotate.rb +28 -0
- data/manual/graphics/scale.rb +41 -0
- data/manual/graphics/soft_masks.rb +46 -0
- data/manual/graphics/stroke_cap.rb +31 -0
- data/manual/graphics/stroke_dash.rb +48 -0
- data/manual/graphics/stroke_join.rb +30 -0
- data/manual/graphics/translate.rb +29 -0
- data/manual/graphics/transparency.rb +35 -0
- data/manual/images/absolute_position.rb +23 -0
- data/manual/images/fit.rb +21 -0
- data/manual/images/horizontal.rb +25 -0
- data/manual/images/images.rb +40 -0
- data/manual/images/plain_image.rb +18 -0
- data/manual/images/scale.rb +22 -0
- data/manual/images/vertical.rb +28 -0
- data/manual/images/width_and_height.rb +25 -0
- data/manual/layout/boxes.rb +27 -0
- data/manual/layout/content.rb +25 -0
- data/manual/layout/layout.rb +28 -0
- data/manual/layout/simple_grid.rb +23 -0
- data/manual/manual/cover.rb +36 -0
- data/manual/manual/foreword.rb +85 -0
- data/manual/manual/how_to_read_this_manual.rb +41 -0
- data/manual/manual/manual.rb +34 -0
- data/manual/outline/add_subsection_to.rb +61 -0
- data/manual/outline/insert_section_after.rb +47 -0
- data/manual/outline/outline.rb +32 -0
- data/manual/outline/sections_and_pages.rb +67 -0
- data/manual/repeatable_content/page_numbering.rb +54 -0
- data/manual/repeatable_content/repeatable_content.rb +31 -0
- data/manual/repeatable_content/repeater.rb +55 -0
- data/manual/repeatable_content/stamp.rb +41 -0
- data/manual/security/encryption.rb +31 -0
- data/manual/security/permissions.rb +38 -0
- data/manual/security/security.rb +28 -0
- data/manual/syntax_highlight.rb +52 -0
- data/manual/table/basic_block.rb +53 -0
- data/manual/table/before_rendering_page.rb +26 -0
- data/manual/table/cell_border_lines.rb +24 -0
- data/manual/table/cell_borders_and_bg.rb +31 -0
- data/manual/table/cell_dimensions.rb +30 -0
- data/manual/table/cell_text.rb +38 -0
- data/manual/table/column_widths.rb +30 -0
- data/manual/table/content_and_subtables.rb +39 -0
- data/manual/table/creation.rb +27 -0
- data/manual/table/filtering.rb +36 -0
- data/manual/table/flow_and_header.rb +17 -0
- data/manual/table/image_cells.rb +33 -0
- data/manual/table/position.rb +29 -0
- data/manual/table/row_colors.rb +20 -0
- data/manual/table/span.rb +30 -0
- data/manual/table/style.rb +22 -0
- data/manual/table/table.rb +52 -0
- data/manual/table/width.rb +27 -0
- data/manual/text/alignment.rb +44 -0
- data/manual/text/color.rb +24 -0
- data/manual/text/column_box.rb +32 -0
- data/manual/text/fallback_fonts.rb +37 -0
- data/manual/text/font.rb +41 -0
- data/manual/text/font_size.rb +45 -0
- data/manual/text/font_style.rb +23 -0
- data/manual/text/formatted_callbacks.rb +60 -0
- data/manual/text/formatted_text.rb +54 -0
- data/manual/text/free_flowing_text.rb +51 -0
- data/manual/text/group.rb +31 -0
- data/manual/text/inline.rb +43 -0
- data/manual/text/kerning_and_character_spacing.rb +39 -0
- data/manual/text/leading.rb +25 -0
- data/manual/text/line_wrapping.rb +41 -0
- data/manual/text/paragraph_indentation.rb +26 -0
- data/manual/text/positioned_text.rb +38 -0
- data/manual/text/registering_families.rb +48 -0
- data/manual/text/rendering_and_color.rb +37 -0
- data/manual/text/right_to_left_text.rb +43 -0
- data/manual/text/rotation.rb +43 -0
- data/manual/text/single_usage.rb +37 -0
- data/manual/text/text.rb +75 -0
- data/manual/text/text_box_excess.rb +32 -0
- data/manual/text/text_box_extensions.rb +45 -0
- data/manual/text/text_box_overflow.rb +44 -0
- data/manual/text/utf8.rb +28 -0
- data/{examples/m17n → manual/text}/win_ansi_charset.rb +14 -10
- data/prawn.gemspec +27 -17
- data/spec/acceptance/png.rb +23 -0
- data/spec/annotations_spec.rb +16 -32
- data/spec/bounding_box_spec.rb +284 -2
- data/spec/cell_spec.rb +169 -38
- data/spec/column_box_spec.rb +65 -0
- data/spec/data/curves.pdf +66 -0
- data/spec/destinations_spec.rb +5 -5
- data/spec/document_spec.rb +212 -113
- data/spec/extensions/encoding_helpers.rb +9 -0
- data/spec/extensions/mocha.rb +2 -3
- data/spec/font_metric_cache_spec.rb +52 -0
- data/spec/font_spec.rb +205 -95
- data/spec/formatted_text_arranger_spec.rb +43 -43
- data/spec/formatted_text_box_spec.rb +63 -24
- data/spec/formatted_text_fragment_spec.rb +8 -8
- data/spec/graphics_spec.rb +175 -68
- data/spec/grid_spec.rb +26 -15
- data/spec/image_handler_spec.rb +54 -0
- data/spec/images_spec.rb +58 -30
- data/spec/inline_formatted_text_parser_spec.rb +73 -19
- data/spec/jpg_spec.rb +4 -4
- data/spec/line_wrap_spec.rb +28 -28
- data/spec/measurement_units_spec.rb +6 -6
- data/spec/object_store_spec.rb +17 -106
- data/spec/outline_spec.rb +103 -63
- data/spec/png_spec.rb +25 -25
- data/spec/reference_spec.rb +8 -65
- data/spec/repeater_spec.rb +25 -11
- data/spec/security_spec.rb +44 -12
- data/spec/snapshot_spec.rb +38 -6
- data/spec/soft_mask_spec.rb +117 -0
- data/spec/span_spec.rb +10 -15
- data/spec/spec_helper.rb +32 -8
- data/spec/stamp_spec.rb +29 -30
- data/spec/stroke_styles_spec.rb +36 -18
- data/spec/table/span_dummy_spec.rb +17 -0
- data/spec/table_spec.rb +850 -104
- data/spec/text_at_spec.rb +19 -33
- data/spec/text_box_spec.rb +117 -64
- data/spec/text_rendering_mode_spec.rb +5 -5
- data/spec/text_spacing_spec.rb +20 -2
- data/spec/text_spec.rb +111 -59
- data/spec/transparency_spec.rb +5 -5
- metadata +477 -328
- data/HACKING +0 -50
- data/README +0 -141
- data/data/fonts/Action Man.dfont +0 -0
- data/data/fonts/Activa.ttf +0 -0
- data/data/fonts/Chalkboard.ttf +0 -0
- data/data/fonts/DejaVuSans.ttf +0 -0
- data/data/fonts/Dustismo_Roman.ttf +0 -0
- data/data/fonts/comicsans.ttf +0 -0
- data/data/fonts/gkai00mp.ttf +0 -0
- data/data/images/16bit.dat +0 -0
- data/data/images/dice.dat +0 -0
- data/data/images/page_white_text.dat +0 -0
- data/data/images/rails.dat +0 -0
- data/data/images/rails.png +0 -0
- data/examples/bounding_box/bounding_boxes.rb +0 -44
- data/examples/bounding_box/indentation.rb +0 -35
- data/examples/bounding_box/russian_boxes.rb +0 -37
- data/examples/bounding_box/stretched_nesting.rb +0 -68
- data/examples/example_helper.rb +0 -8
- data/examples/general/background.rb +0 -24
- data/examples/general/canvas.rb +0 -16
- data/examples/general/context_sensitive_headers.rb +0 -38
- data/examples/general/float.rb +0 -12
- data/examples/general/margin.rb +0 -37
- data/examples/general/measurement_units.rb +0 -52
- data/examples/general/metadata-info.rb +0 -17
- data/examples/general/multi_page_layout.rb +0 -19
- data/examples/general/outlines.rb +0 -67
- data/examples/general/page_geometry.rb +0 -32
- data/examples/general/page_numbering.rb +0 -40
- data/examples/general/page_templates.rb +0 -20
- data/examples/general/repeaters.rb +0 -48
- data/examples/general/stamp.rb +0 -42
- data/examples/general/templates.rb +0 -14
- data/examples/graphics/basic_images.rb +0 -24
- data/examples/graphics/cmyk.rb +0 -13
- data/examples/graphics/curves.rb +0 -12
- data/examples/graphics/gradient.rb +0 -23
- data/examples/graphics/hexagon.rb +0 -14
- data/examples/graphics/image_fit.rb +0 -16
- data/examples/graphics/image_flow.rb +0 -38
- data/examples/graphics/image_position.rb +0 -18
- data/examples/graphics/line.rb +0 -33
- data/examples/graphics/png_types.rb +0 -23
- data/examples/graphics/polygons.rb +0 -17
- data/examples/graphics/remote_images.rb +0 -13
- data/examples/graphics/rounded_polygons.rb +0 -20
- data/examples/graphics/rounded_rectangle.rb +0 -21
- data/examples/graphics/ruport_style_helpers.rb +0 -20
- data/examples/graphics/stroke_bounds.rb +0 -21
- data/examples/graphics/stroke_cap_and_join.rb +0 -46
- data/examples/graphics/stroke_dash.rb +0 -43
- data/examples/graphics/transformations.rb +0 -53
- data/examples/graphics/transparency.rb +0 -27
- data/examples/grid/bounding_boxes.rb +0 -22
- data/examples/grid/column_gutter_grid.rb +0 -21
- data/examples/grid/multi_boxes.rb +0 -52
- data/examples/grid/show_grid.rb +0 -14
- data/examples/grid/simple_grid.rb +0 -21
- data/examples/m17n/chinese_text_wrapping.rb +0 -18
- data/examples/m17n/euro.rb +0 -16
- data/examples/m17n/full_win_ansi_character_list.rb +0 -20
- data/examples/m17n/sjis.rb +0 -29
- data/examples/m17n/utf8.rb +0 -14
- data/examples/security/hello_foo.rb +0 -9
- data/examples/table/bill.rb +0 -54
- data/examples/table/borders.rb +0 -25
- data/examples/table/cell.rb +0 -13
- data/examples/table/checkerboard.rb +0 -23
- data/examples/table/header.rb +0 -15
- data/examples/table/inline_format_table.rb +0 -13
- data/examples/table/multi_page_table.rb +0 -10
- data/examples/table/simple_table.rb +0 -25
- data/examples/table/subtable.rb +0 -13
- data/examples/table/widths.rb +0 -21
- data/examples/text/alignment.rb +0 -19
- data/examples/text/character_spacing.rb +0 -13
- data/examples/text/dfont.rb +0 -49
- data/examples/text/family_based_styling.rb +0 -25
- data/examples/text/font_calculations.rb +0 -92
- data/examples/text/font_size.rb +0 -34
- data/examples/text/hyphenation.rb +0 -45
- data/examples/text/indent_paragraphs.rb +0 -24
- data/examples/text/inline_format.rb +0 -104
- data/examples/text/kerning.rb +0 -31
- data/examples/text/rendering_mode.rb +0 -21
- data/examples/text/rotated.rb +0 -99
- data/examples/text/shaped_text_box.rb +0 -32
- data/examples/text/simple_text.rb +0 -18
- data/examples/text/simple_text_ttf.rb +0 -18
- data/examples/text/span.rb +0 -30
- data/examples/text/text_box.rb +0 -90
- data/examples/text/text_box_returning_excess.rb +0 -52
- data/examples/text/text_flow.rb +0 -68
- data/lib/prawn/compatibility.rb +0 -51
- data/lib/prawn/core/annotations.rb +0 -61
- data/lib/prawn/core/byte_string.rb +0 -9
- data/lib/prawn/core/destinations.rb +0 -90
- data/lib/prawn/core/document_state.rb +0 -78
- data/lib/prawn/core/literal_string.rb +0 -16
- data/lib/prawn/core/name_tree.rb +0 -165
- data/lib/prawn/core/object_store.rb +0 -264
- data/lib/prawn/core/page.rb +0 -213
- data/lib/prawn/core/pdf_object.rb +0 -108
- data/lib/prawn/core/reference.rb +0 -112
- data/lib/prawn/core/text/formatted/arranger.rb +0 -293
- data/lib/prawn/core/text/formatted/line_wrap.rb +0 -272
- data/lib/prawn/core/text/formatted/wrap.rb +0 -149
- data/lib/prawn/core/text.rb +0 -268
- data/lib/prawn/core.rb +0 -85
- data/lib/prawn/document/page_geometry.rb +0 -136
- data/lib/prawn/graphics/gradient.rb +0 -84
- data/spec/name_tree_spec.rb +0 -112
- data/spec/pdf_object_spec.rb +0 -170
- data/spec/template_spec.rb +0 -291
metadata
CHANGED
@@ -1,382 +1,531 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 11
|
9
|
-
- 1
|
10
|
-
version: 0.11.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.15.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Gregory Brown
|
14
8
|
- Brad Ediger
|
15
9
|
- Daniel Nelson
|
16
|
-
-
|
10
|
+
- Jonathan Greenberg
|
17
11
|
- James Healy
|
18
12
|
autorequire:
|
19
13
|
bindir: bin
|
20
14
|
cert_chain: []
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
dependencies:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: pdf-reader
|
27
|
-
prerelease: false
|
28
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
hash: 59
|
34
|
-
segments:
|
35
|
-
- 0
|
36
|
-
- 9
|
37
|
-
- 0
|
38
|
-
version: 0.9.0
|
39
|
-
type: :runtime
|
40
|
-
version_requirements: *id001
|
41
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
date: 2014-02-16 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
42
18
|
name: ttfunk
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - "~>"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.1.0
|
24
|
+
type: :runtime
|
43
25
|
prerelease: false
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - "~>"
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 1.1.0
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: pdf-core
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - "~>"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.1.3
|
55
38
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.1.3
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: pdf-inspector
|
47
|
+
requirement: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - "~>"
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 1.1.0
|
52
|
+
type: :development
|
53
|
+
prerelease: false
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - "~>"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.1.0
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: coderay
|
61
|
+
requirement: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - "~>"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.0.7
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.0.7
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: yard
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: rspec
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: mocha
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: rake
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: simplecov
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: pdf-reader
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '1.2'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '1.2'
|
157
|
+
description: |2
|
158
|
+
Prawn is a fast, tiny, and nimble PDF generator for Ruby
|
159
|
+
email:
|
59
160
|
- gregory.t.brown@gmail.com
|
60
161
|
- brad@bradediger.com
|
61
162
|
- dnelson@bluejade.com
|
62
163
|
- greenberg@entryway.net
|
63
164
|
- jimmy@deefa.com
|
64
165
|
executables: []
|
65
|
-
|
66
166
|
extensions: []
|
67
|
-
|
68
|
-
|
69
|
-
-
|
70
|
-
- README
|
71
|
-
- LICENSE
|
167
|
+
extra_rdoc_files: []
|
168
|
+
files:
|
169
|
+
- ".yardopts"
|
72
170
|
- COPYING
|
73
|
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
- examples/bounding_box/russian_boxes.rb
|
79
|
-
- examples/table/multi_page_table.rb
|
80
|
-
- examples/table/header.rb
|
81
|
-
- examples/table/checkerboard.rb
|
82
|
-
- examples/table/inline_format_table.rb
|
83
|
-
- examples/table/borders.rb
|
84
|
-
- examples/table/simple_table.rb
|
85
|
-
- examples/table/subtable.rb
|
86
|
-
- examples/table/bill.rb
|
87
|
-
- examples/table/widths.rb
|
88
|
-
- examples/table/cell.rb
|
89
|
-
- examples/security/hello_foo.rb
|
90
|
-
- examples/text/span.rb
|
91
|
-
- examples/text/simple_text_ttf.rb
|
92
|
-
- examples/text/inline_format.rb
|
93
|
-
- examples/text/font_size.rb
|
94
|
-
- examples/text/text_flow.rb
|
95
|
-
- examples/text/family_based_styling.rb
|
96
|
-
- examples/text/text_box_returning_excess.rb
|
97
|
-
- examples/text/alignment.rb
|
98
|
-
- examples/text/shaped_text_box.rb
|
99
|
-
- examples/text/font_calculations.rb
|
100
|
-
- examples/text/text_box.rb
|
101
|
-
- examples/text/rotated.rb
|
102
|
-
- examples/text/indent_paragraphs.rb
|
103
|
-
- examples/text/simple_text.rb
|
104
|
-
- examples/text/hyphenation.rb
|
105
|
-
- examples/text/character_spacing.rb
|
106
|
-
- examples/text/rendering_mode.rb
|
107
|
-
- examples/text/dfont.rb
|
108
|
-
- examples/text/kerning.rb
|
109
|
-
- examples/general/canvas.rb
|
110
|
-
- examples/general/measurement_units.rb
|
111
|
-
- examples/general/templates.rb
|
112
|
-
- examples/general/repeaters.rb
|
113
|
-
- examples/general/context_sensitive_headers.rb
|
114
|
-
- examples/general/page_numbering.rb
|
115
|
-
- examples/general/multi_page_layout.rb
|
116
|
-
- examples/general/float.rb
|
117
|
-
- examples/general/page_geometry.rb
|
118
|
-
- examples/general/margin.rb
|
119
|
-
- examples/general/outlines.rb
|
120
|
-
- examples/general/background.rb
|
121
|
-
- examples/general/metadata-info.rb
|
122
|
-
- examples/general/stamp.rb
|
123
|
-
- examples/general/page_templates.rb
|
124
|
-
- examples/graphics/line.rb
|
125
|
-
- examples/graphics/ruport_style_helpers.rb
|
126
|
-
- examples/graphics/image_position.rb
|
127
|
-
- examples/graphics/polygons.rb
|
128
|
-
- examples/graphics/gradient.rb
|
129
|
-
- examples/graphics/image_fit.rb
|
130
|
-
- examples/graphics/curves.rb
|
131
|
-
- examples/graphics/stroke_bounds.rb
|
132
|
-
- examples/graphics/transformations.rb
|
133
|
-
- examples/graphics/rounded_rectangle.rb
|
134
|
-
- examples/graphics/transparency.rb
|
135
|
-
- examples/graphics/stroke_cap_and_join.rb
|
136
|
-
- examples/graphics/png_types.rb
|
137
|
-
- examples/graphics/cmyk.rb
|
138
|
-
- examples/graphics/rounded_polygons.rb
|
139
|
-
- examples/graphics/hexagon.rb
|
140
|
-
- examples/graphics/remote_images.rb
|
141
|
-
- examples/graphics/image_flow.rb
|
142
|
-
- examples/graphics/stroke_dash.rb
|
143
|
-
- examples/graphics/basic_images.rb
|
144
|
-
- examples/grid/multi_boxes.rb
|
145
|
-
- examples/grid/bounding_boxes.rb
|
146
|
-
- examples/grid/simple_grid.rb
|
147
|
-
- examples/grid/show_grid.rb
|
148
|
-
- examples/grid/column_gutter_grid.rb
|
149
|
-
- examples/m17n/euro.rb
|
150
|
-
- examples/m17n/utf8.rb
|
151
|
-
- examples/m17n/sjis.rb
|
152
|
-
- examples/m17n/full_win_ansi_character_list.rb
|
153
|
-
- examples/m17n/chinese_text_wrapping.rb
|
154
|
-
- examples/m17n/win_ansi_charset.rb
|
155
|
-
- lib/prawn.rb
|
156
|
-
- lib/prawn/core.rb
|
157
|
-
- lib/prawn/errors.rb
|
158
|
-
- lib/prawn/text.rb
|
159
|
-
- lib/prawn/images.rb
|
160
|
-
- lib/prawn/core/object_store.rb
|
161
|
-
- lib/prawn/core/byte_string.rb
|
162
|
-
- lib/prawn/core/text.rb
|
163
|
-
- lib/prawn/core/pdf_object.rb
|
164
|
-
- lib/prawn/core/document_state.rb
|
165
|
-
- lib/prawn/core/destinations.rb
|
166
|
-
- lib/prawn/core/reference.rb
|
167
|
-
- lib/prawn/core/annotations.rb
|
168
|
-
- lib/prawn/core/page.rb
|
169
|
-
- lib/prawn/core/name_tree.rb
|
170
|
-
- lib/prawn/core/text/formatted/wrap.rb
|
171
|
-
- lib/prawn/core/text/formatted/arranger.rb
|
172
|
-
- lib/prawn/core/text/formatted/line_wrap.rb
|
173
|
-
- lib/prawn/core/literal_string.rb
|
174
|
-
- lib/prawn/measurements.rb
|
175
|
-
- lib/prawn/compatibility.rb
|
176
|
-
- lib/prawn/repeater.rb
|
177
|
-
- lib/prawn/measurement_extensions.rb
|
178
|
-
- lib/prawn/document.rb
|
179
|
-
- lib/prawn/images/jpg.rb
|
180
|
-
- lib/prawn/images/png.rb
|
181
|
-
- lib/prawn/encoding.rb
|
182
|
-
- lib/prawn/table/cells.rb
|
183
|
-
- lib/prawn/table/cell/text.rb
|
184
|
-
- lib/prawn/table/cell/in_table.rb
|
185
|
-
- lib/prawn/table/cell/subtable.rb
|
186
|
-
- lib/prawn/table/cell.rb
|
187
|
-
- lib/prawn/graphics.rb
|
188
|
-
- lib/prawn/security/arcfour.rb
|
189
|
-
- lib/prawn/document/span.rb
|
190
|
-
- lib/prawn/document/snapshot.rb
|
191
|
-
- lib/prawn/document/bounding_box.rb
|
192
|
-
- lib/prawn/document/internals.rb
|
193
|
-
- lib/prawn/document/page_geometry.rb
|
194
|
-
- lib/prawn/document/graphics_state.rb
|
195
|
-
- lib/prawn/document/column_box.rb
|
196
|
-
- lib/prawn/layout/grid.rb
|
197
|
-
- lib/prawn/text/formatted/parser.rb
|
198
|
-
- lib/prawn/text/formatted/fragment.rb
|
199
|
-
- lib/prawn/text/formatted/box.rb
|
200
|
-
- lib/prawn/text/box.rb
|
201
|
-
- lib/prawn/text/formatted.rb
|
202
|
-
- lib/prawn/font/ttf.rb
|
203
|
-
- lib/prawn/font/afm.rb
|
204
|
-
- lib/prawn/font/dfont.rb
|
205
|
-
- lib/prawn/graphics/join_style.rb
|
206
|
-
- lib/prawn/graphics/gradient.rb
|
207
|
-
- lib/prawn/graphics/transformation.rb
|
208
|
-
- lib/prawn/graphics/cap_style.rb
|
209
|
-
- lib/prawn/graphics/transparency.rb
|
210
|
-
- lib/prawn/graphics/color.rb
|
211
|
-
- lib/prawn/graphics/dash.rb
|
212
|
-
- lib/prawn/layout.rb
|
213
|
-
- lib/prawn/stamp.rb
|
214
|
-
- lib/prawn/table.rb
|
215
|
-
- lib/prawn/outline.rb
|
216
|
-
- lib/prawn/font.rb
|
217
|
-
- lib/prawn/security.rb
|
218
|
-
- spec/text_spacing_spec.rb
|
219
|
-
- spec/annotations_spec.rb
|
220
|
-
- spec/jpg_spec.rb
|
221
|
-
- spec/object_store_spec.rb
|
222
|
-
- spec/snapshot_spec.rb
|
223
|
-
- spec/measurement_units_spec.rb
|
224
|
-
- spec/inline_formatted_text_parser_spec.rb
|
225
|
-
- spec/reference_spec.rb
|
226
|
-
- spec/graphics_spec.rb
|
227
|
-
- spec/stamp_spec.rb
|
228
|
-
- spec/bounding_box_spec.rb
|
229
|
-
- spec/transparency_spec.rb
|
230
|
-
- spec/spec_helper.rb
|
231
|
-
- spec/document_spec.rb
|
232
|
-
- spec/font_spec.rb
|
233
|
-
- spec/text_box_spec.rb
|
234
|
-
- spec/text_with_inline_formatting_spec.rb
|
235
|
-
- spec/images_spec.rb
|
236
|
-
- spec/text_at_spec.rb
|
237
|
-
- spec/destinations_spec.rb
|
238
|
-
- spec/png_spec.rb
|
239
|
-
- spec/name_tree_spec.rb
|
240
|
-
- spec/formatted_text_arranger_spec.rb
|
241
|
-
- spec/line_wrap_spec.rb
|
242
|
-
- spec/template_spec.rb
|
243
|
-
- spec/formatted_text_fragment_spec.rb
|
244
|
-
- spec/span_spec.rb
|
245
|
-
- spec/extensions/mocha.rb
|
246
|
-
- spec/text_rendering_mode_spec.rb
|
247
|
-
- spec/outline_spec.rb
|
248
|
-
- spec/cell_spec.rb
|
249
|
-
- spec/stroke_styles_spec.rb
|
250
|
-
- spec/formatted_text_box_spec.rb
|
251
|
-
- spec/text_spec.rb
|
252
|
-
- spec/pdf_object_spec.rb
|
253
|
-
- spec/security_spec.rb
|
254
|
-
- spec/table_spec.rb
|
255
|
-
- spec/repeater_spec.rb
|
256
|
-
- spec/grid_spec.rb
|
171
|
+
- GPLv2
|
172
|
+
- GPLv3
|
173
|
+
- Gemfile
|
174
|
+
- LICENSE
|
175
|
+
- Rakefile
|
257
176
|
- data/encodings/win_ansi.txt
|
258
|
-
- data/fonts/
|
259
|
-
- data/fonts/
|
177
|
+
- data/fonts/Courier-Bold.afm
|
178
|
+
- data/fonts/Courier-BoldOblique.afm
|
260
179
|
- data/fonts/Courier-Oblique.afm
|
261
|
-
- data/fonts/Helvetica-BoldOblique.afm
|
262
|
-
- data/fonts/Symbol.afm
|
263
|
-
- data/fonts/Helvetica-Bold.afm
|
264
|
-
- data/fonts/ZapfDingbats.afm
|
265
|
-
- data/fonts/Times-BoldItalic.afm
|
266
|
-
- data/fonts/Dustismo_Roman.ttf
|
267
180
|
- data/fonts/Courier.afm
|
181
|
+
- data/fonts/Helvetica-Bold.afm
|
182
|
+
- data/fonts/Helvetica-BoldOblique.afm
|
268
183
|
- data/fonts/Helvetica-Oblique.afm
|
269
|
-
- data/fonts/Chalkboard.ttf
|
270
|
-
- data/fonts/Courier-Bold.afm
|
271
|
-
- data/fonts/Activa.ttf
|
272
|
-
- data/fonts/Courier-BoldOblique.afm
|
273
184
|
- data/fonts/Helvetica.afm
|
274
|
-
- data/fonts/DejaVuSans.ttf
|
275
185
|
- data/fonts/MustRead.html
|
276
|
-
- data/fonts/
|
277
|
-
- data/fonts/gkai00mp.ttf
|
278
|
-
- data/fonts/Action Man.dfont
|
186
|
+
- data/fonts/Symbol.afm
|
279
187
|
- data/fonts/Times-Bold.afm
|
188
|
+
- data/fonts/Times-BoldItalic.afm
|
189
|
+
- data/fonts/Times-Italic.afm
|
190
|
+
- data/fonts/Times-Roman.afm
|
191
|
+
- data/fonts/ZapfDingbats.afm
|
192
|
+
- data/images/16bit.alpha
|
193
|
+
- data/images/16bit.color
|
280
194
|
- data/images/16bit.png
|
281
|
-
- data/images/page_white_text.alpha
|
282
|
-
- data/images/tru256.bmp
|
283
195
|
- data/images/arrow.png
|
284
|
-
- data/images/
|
196
|
+
- data/images/arrow2.png
|
285
197
|
- data/images/barcode_issue.png
|
286
|
-
- data/images/web-links.png
|
287
|
-
- data/images/ruport.png
|
288
|
-
- data/images/prawn.png
|
289
|
-
- data/images/dice.dat
|
290
|
-
- data/images/page_white_text.dat
|
291
198
|
- data/images/dice.alpha
|
199
|
+
- data/images/dice.color
|
200
|
+
- data/images/dice.png
|
292
201
|
- data/images/dice_interlaced.png
|
293
|
-
- data/images/rails.png
|
294
|
-
- data/images/ruport_type0.png
|
295
|
-
- data/images/ruport_data.dat
|
296
202
|
- data/images/fractal.jpg
|
297
|
-
- data/images/
|
298
|
-
- data/images/
|
299
|
-
- data/images/
|
203
|
+
- data/images/indexed_color.dat
|
204
|
+
- data/images/indexed_color.png
|
205
|
+
- data/images/letterhead.jpg
|
206
|
+
- data/images/page_white_text.alpha
|
207
|
+
- data/images/page_white_text.color
|
300
208
|
- data/images/page_white_text.png
|
301
|
-
- data/images/16bit.dat
|
302
209
|
- data/images/pigs.jpg
|
210
|
+
- data/images/prawn.png
|
211
|
+
- data/images/ruport.png
|
212
|
+
- data/images/ruport_data.dat
|
303
213
|
- data/images/ruport_transparent.png
|
304
|
-
- data/images/
|
305
|
-
- data/images/
|
306
|
-
- data/images/
|
307
|
-
- data/
|
214
|
+
- data/images/ruport_type0.png
|
215
|
+
- data/images/stef.jpg
|
216
|
+
- data/images/tru256.bmp
|
217
|
+
- data/images/web-links.dat
|
218
|
+
- data/images/web-links.png
|
219
|
+
- data/pdfs/complex_template.pdf
|
220
|
+
- data/pdfs/contains_ttf_font.pdf
|
308
221
|
- data/pdfs/encrypted.pdf
|
309
|
-
- data/pdfs/nested_pages.pdf
|
310
|
-
- data/pdfs/resources_as_indirect_object.pdf
|
311
|
-
- data/pdfs/hexagon.pdf
|
312
222
|
- data/pdfs/form.pdf
|
313
|
-
- data/pdfs/
|
223
|
+
- data/pdfs/hexagon.pdf
|
224
|
+
- data/pdfs/indirect_reference.pdf
|
314
225
|
- data/pdfs/multipage_template.pdf
|
315
|
-
- data/pdfs/
|
316
|
-
- data/pdfs/two_hexagons.pdf
|
226
|
+
- data/pdfs/nested_pages.pdf
|
317
227
|
- data/pdfs/page_without_mediabox.pdf
|
318
|
-
- data/pdfs/
|
319
|
-
- data/pdfs/
|
320
|
-
-
|
228
|
+
- data/pdfs/resources_as_indirect_object.pdf
|
229
|
+
- data/pdfs/two_hexagons.pdf
|
230
|
+
- data/pdfs/version_1_6.pdf
|
231
|
+
- data/shift_jis_text.txt
|
232
|
+
- lib/prawn.rb
|
233
|
+
- lib/prawn/document.rb
|
234
|
+
- lib/prawn/document/bounding_box.rb
|
235
|
+
- lib/prawn/document/column_box.rb
|
236
|
+
- lib/prawn/document/graphics_state.rb
|
237
|
+
- lib/prawn/document/internals.rb
|
238
|
+
- lib/prawn/document/snapshot.rb
|
239
|
+
- lib/prawn/document/span.rb
|
240
|
+
- lib/prawn/encoding.rb
|
241
|
+
- lib/prawn/errors.rb
|
242
|
+
- lib/prawn/font.rb
|
243
|
+
- lib/prawn/font/afm.rb
|
244
|
+
- lib/prawn/font/dfont.rb
|
245
|
+
- lib/prawn/font/ttf.rb
|
246
|
+
- lib/prawn/font_metric_cache.rb
|
247
|
+
- lib/prawn/graphics.rb
|
248
|
+
- lib/prawn/graphics/cap_style.rb
|
249
|
+
- lib/prawn/graphics/color.rb
|
250
|
+
- lib/prawn/graphics/dash.rb
|
251
|
+
- lib/prawn/graphics/join_style.rb
|
252
|
+
- lib/prawn/graphics/patterns.rb
|
253
|
+
- lib/prawn/graphics/transformation.rb
|
254
|
+
- lib/prawn/graphics/transparency.rb
|
255
|
+
- lib/prawn/image_handler.rb
|
256
|
+
- lib/prawn/images.rb
|
257
|
+
- lib/prawn/images/image.rb
|
258
|
+
- lib/prawn/images/jpg.rb
|
259
|
+
- lib/prawn/images/png.rb
|
260
|
+
- lib/prawn/layout.rb
|
261
|
+
- lib/prawn/layout/grid.rb
|
262
|
+
- lib/prawn/measurement_extensions.rb
|
263
|
+
- lib/prawn/measurements.rb
|
264
|
+
- lib/prawn/outline.rb
|
265
|
+
- lib/prawn/repeater.rb
|
266
|
+
- lib/prawn/security.rb
|
267
|
+
- lib/prawn/security/arcfour.rb
|
268
|
+
- lib/prawn/soft_mask.rb
|
269
|
+
- lib/prawn/stamp.rb
|
270
|
+
- lib/prawn/table.rb
|
271
|
+
- lib/prawn/table/cell.rb
|
272
|
+
- lib/prawn/table/cell/image.rb
|
273
|
+
- lib/prawn/table/cell/in_table.rb
|
274
|
+
- lib/prawn/table/cell/span_dummy.rb
|
275
|
+
- lib/prawn/table/cell/subtable.rb
|
276
|
+
- lib/prawn/table/cell/text.rb
|
277
|
+
- lib/prawn/table/cells.rb
|
278
|
+
- lib/prawn/table/column_width_calculator.rb
|
279
|
+
- lib/prawn/text.rb
|
280
|
+
- lib/prawn/text/box.rb
|
281
|
+
- lib/prawn/text/formatted.rb
|
282
|
+
- lib/prawn/text/formatted/arranger.rb
|
283
|
+
- lib/prawn/text/formatted/box.rb
|
284
|
+
- lib/prawn/text/formatted/fragment.rb
|
285
|
+
- lib/prawn/text/formatted/line_wrap.rb
|
286
|
+
- lib/prawn/text/formatted/parser.rb
|
287
|
+
- lib/prawn/text/formatted/wrap.rb
|
288
|
+
- lib/prawn/utilities.rb
|
289
|
+
- manual/basic_concepts/adding_pages.rb
|
290
|
+
- manual/basic_concepts/basic_concepts.rb
|
291
|
+
- manual/basic_concepts/creation.rb
|
292
|
+
- manual/basic_concepts/cursor.rb
|
293
|
+
- manual/basic_concepts/measurement.rb
|
294
|
+
- manual/basic_concepts/origin.rb
|
295
|
+
- manual/basic_concepts/other_cursor_helpers.rb
|
296
|
+
- manual/bounding_box/bounding_box.rb
|
297
|
+
- manual/bounding_box/bounds.rb
|
298
|
+
- manual/bounding_box/canvas.rb
|
299
|
+
- manual/bounding_box/creation.rb
|
300
|
+
- manual/bounding_box/indentation.rb
|
301
|
+
- manual/bounding_box/nesting.rb
|
302
|
+
- manual/bounding_box/russian_boxes.rb
|
303
|
+
- manual/bounding_box/stretchy.rb
|
304
|
+
- manual/document_and_page_options/background.rb
|
305
|
+
- manual/document_and_page_options/document_and_page_options.rb
|
306
|
+
- manual/document_and_page_options/metadata.rb
|
307
|
+
- manual/document_and_page_options/page_margins.rb
|
308
|
+
- manual/document_and_page_options/page_size.rb
|
309
|
+
- manual/document_and_page_options/print_scaling.rb
|
310
|
+
- manual/example_file.rb
|
311
|
+
- manual/example_helper.rb
|
312
|
+
- manual/example_package.rb
|
313
|
+
- manual/example_section.rb
|
314
|
+
- manual/graphics/circle_and_ellipse.rb
|
315
|
+
- manual/graphics/color.rb
|
316
|
+
- manual/graphics/common_lines.rb
|
317
|
+
- manual/graphics/fill_and_stroke.rb
|
318
|
+
- manual/graphics/fill_rules.rb
|
319
|
+
- manual/graphics/gradients.rb
|
320
|
+
- manual/graphics/graphics.rb
|
321
|
+
- manual/graphics/helper.rb
|
322
|
+
- manual/graphics/line_width.rb
|
323
|
+
- manual/graphics/lines_and_curves.rb
|
324
|
+
- manual/graphics/polygon.rb
|
325
|
+
- manual/graphics/rectangle.rb
|
326
|
+
- manual/graphics/rotate.rb
|
327
|
+
- manual/graphics/scale.rb
|
328
|
+
- manual/graphics/soft_masks.rb
|
329
|
+
- manual/graphics/stroke_cap.rb
|
330
|
+
- manual/graphics/stroke_dash.rb
|
331
|
+
- manual/graphics/stroke_join.rb
|
332
|
+
- manual/graphics/translate.rb
|
333
|
+
- manual/graphics/transparency.rb
|
334
|
+
- manual/images/absolute_position.rb
|
335
|
+
- manual/images/fit.rb
|
336
|
+
- manual/images/horizontal.rb
|
337
|
+
- manual/images/images.rb
|
338
|
+
- manual/images/plain_image.rb
|
339
|
+
- manual/images/scale.rb
|
340
|
+
- manual/images/vertical.rb
|
341
|
+
- manual/images/width_and_height.rb
|
342
|
+
- manual/layout/boxes.rb
|
343
|
+
- manual/layout/content.rb
|
344
|
+
- manual/layout/layout.rb
|
345
|
+
- manual/layout/simple_grid.rb
|
346
|
+
- manual/manual/cover.rb
|
347
|
+
- manual/manual/foreword.rb
|
348
|
+
- manual/manual/how_to_read_this_manual.rb
|
349
|
+
- manual/manual/manual.rb
|
350
|
+
- manual/outline/add_subsection_to.rb
|
351
|
+
- manual/outline/insert_section_after.rb
|
352
|
+
- manual/outline/outline.rb
|
353
|
+
- manual/outline/sections_and_pages.rb
|
354
|
+
- manual/repeatable_content/page_numbering.rb
|
355
|
+
- manual/repeatable_content/repeatable_content.rb
|
356
|
+
- manual/repeatable_content/repeater.rb
|
357
|
+
- manual/repeatable_content/stamp.rb
|
358
|
+
- manual/security/encryption.rb
|
359
|
+
- manual/security/permissions.rb
|
360
|
+
- manual/security/security.rb
|
361
|
+
- manual/syntax_highlight.rb
|
362
|
+
- manual/table/basic_block.rb
|
363
|
+
- manual/table/before_rendering_page.rb
|
364
|
+
- manual/table/cell_border_lines.rb
|
365
|
+
- manual/table/cell_borders_and_bg.rb
|
366
|
+
- manual/table/cell_dimensions.rb
|
367
|
+
- manual/table/cell_text.rb
|
368
|
+
- manual/table/column_widths.rb
|
369
|
+
- manual/table/content_and_subtables.rb
|
370
|
+
- manual/table/creation.rb
|
371
|
+
- manual/table/filtering.rb
|
372
|
+
- manual/table/flow_and_header.rb
|
373
|
+
- manual/table/image_cells.rb
|
374
|
+
- manual/table/position.rb
|
375
|
+
- manual/table/row_colors.rb
|
376
|
+
- manual/table/span.rb
|
377
|
+
- manual/table/style.rb
|
378
|
+
- manual/table/table.rb
|
379
|
+
- manual/table/width.rb
|
380
|
+
- manual/text/alignment.rb
|
381
|
+
- manual/text/color.rb
|
382
|
+
- manual/text/column_box.rb
|
383
|
+
- manual/text/fallback_fonts.rb
|
384
|
+
- manual/text/font.rb
|
385
|
+
- manual/text/font_size.rb
|
386
|
+
- manual/text/font_style.rb
|
387
|
+
- manual/text/formatted_callbacks.rb
|
388
|
+
- manual/text/formatted_text.rb
|
389
|
+
- manual/text/free_flowing_text.rb
|
390
|
+
- manual/text/group.rb
|
391
|
+
- manual/text/inline.rb
|
392
|
+
- manual/text/kerning_and_character_spacing.rb
|
393
|
+
- manual/text/leading.rb
|
394
|
+
- manual/text/line_wrapping.rb
|
395
|
+
- manual/text/paragraph_indentation.rb
|
396
|
+
- manual/text/positioned_text.rb
|
397
|
+
- manual/text/registering_families.rb
|
398
|
+
- manual/text/rendering_and_color.rb
|
399
|
+
- manual/text/right_to_left_text.rb
|
400
|
+
- manual/text/rotation.rb
|
401
|
+
- manual/text/single_usage.rb
|
402
|
+
- manual/text/text.rb
|
403
|
+
- manual/text/text_box_excess.rb
|
404
|
+
- manual/text/text_box_extensions.rb
|
405
|
+
- manual/text/text_box_overflow.rb
|
406
|
+
- manual/text/utf8.rb
|
407
|
+
- manual/text/win_ansi_charset.rb
|
321
408
|
- prawn.gemspec
|
322
|
-
-
|
323
|
-
-
|
324
|
-
-
|
325
|
-
-
|
326
|
-
|
409
|
+
- spec/acceptance/png.rb
|
410
|
+
- spec/annotations_spec.rb
|
411
|
+
- spec/bounding_box_spec.rb
|
412
|
+
- spec/cell_spec.rb
|
413
|
+
- spec/column_box_spec.rb
|
414
|
+
- spec/data/curves.pdf
|
415
|
+
- spec/destinations_spec.rb
|
416
|
+
- spec/document_spec.rb
|
417
|
+
- spec/extensions/encoding_helpers.rb
|
418
|
+
- spec/extensions/mocha.rb
|
419
|
+
- spec/font_metric_cache_spec.rb
|
420
|
+
- spec/font_spec.rb
|
421
|
+
- spec/formatted_text_arranger_spec.rb
|
422
|
+
- spec/formatted_text_box_spec.rb
|
423
|
+
- spec/formatted_text_fragment_spec.rb
|
424
|
+
- spec/graphics_spec.rb
|
425
|
+
- spec/grid_spec.rb
|
426
|
+
- spec/image_handler_spec.rb
|
427
|
+
- spec/images_spec.rb
|
428
|
+
- spec/inline_formatted_text_parser_spec.rb
|
429
|
+
- spec/jpg_spec.rb
|
430
|
+
- spec/line_wrap_spec.rb
|
431
|
+
- spec/measurement_units_spec.rb
|
432
|
+
- spec/object_store_spec.rb
|
433
|
+
- spec/outline_spec.rb
|
434
|
+
- spec/png_spec.rb
|
435
|
+
- spec/reference_spec.rb
|
436
|
+
- spec/repeater_spec.rb
|
437
|
+
- spec/security_spec.rb
|
438
|
+
- spec/snapshot_spec.rb
|
439
|
+
- spec/soft_mask_spec.rb
|
440
|
+
- spec/span_spec.rb
|
441
|
+
- spec/spec_helper.rb
|
442
|
+
- spec/stamp_spec.rb
|
443
|
+
- spec/stroke_styles_spec.rb
|
444
|
+
- spec/table/span_dummy_spec.rb
|
445
|
+
- spec/table_spec.rb
|
446
|
+
- spec/text_at_spec.rb
|
447
|
+
- spec/text_box_spec.rb
|
448
|
+
- spec/text_rendering_mode_spec.rb
|
449
|
+
- spec/text_spacing_spec.rb
|
450
|
+
- spec/text_spec.rb
|
451
|
+
- spec/text_with_inline_formatting_spec.rb
|
452
|
+
- spec/transparency_spec.rb
|
327
453
|
homepage: http://prawn.majesticseacreature.com
|
328
|
-
licenses:
|
454
|
+
licenses:
|
455
|
+
- RUBY
|
456
|
+
- GPL-2
|
457
|
+
- GPL-3
|
458
|
+
metadata: {}
|
459
|
+
post_install_message: |2+
|
329
460
|
|
330
|
-
post_install_message: |+
|
331
|
-
|
332
461
|
********************************************
|
333
|
-
|
334
|
-
|
335
|
-
A lot has changed
|
336
|
-
|
462
|
+
|
463
|
+
|
464
|
+
A lot has changed recently in Prawn.
|
465
|
+
|
337
466
|
Please read the changelog for details:
|
338
|
-
|
339
|
-
https://github.com/
|
340
|
-
|
341
|
-
|
467
|
+
|
468
|
+
https://github.com/prawnpdf/prawn/wiki/CHANGELOG
|
469
|
+
|
470
|
+
|
342
471
|
********************************************
|
343
|
-
|
344
|
-
rdoc_options:
|
345
|
-
|
346
|
-
- Prawn Documentation
|
347
|
-
- --main
|
348
|
-
- README
|
349
|
-
- -q
|
350
|
-
require_paths:
|
472
|
+
|
473
|
+
rdoc_options: []
|
474
|
+
require_paths:
|
351
475
|
- lib
|
352
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
353
|
-
|
354
|
-
requirements:
|
476
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
477
|
+
requirements:
|
355
478
|
- - ">="
|
356
|
-
- !ruby/object:Gem::Version
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
- 8
|
361
|
-
- 7
|
362
|
-
version: 1.8.7
|
363
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
|
-
none: false
|
365
|
-
requirements:
|
479
|
+
- !ruby/object:Gem::Version
|
480
|
+
version: 1.9.3
|
481
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
482
|
+
requirements:
|
366
483
|
- - ">="
|
367
|
-
- !ruby/object:Gem::Version
|
368
|
-
hash: 23
|
369
|
-
segments:
|
370
|
-
- 1
|
371
|
-
- 3
|
372
|
-
- 6
|
484
|
+
- !ruby/object:Gem::Version
|
373
485
|
version: 1.3.6
|
374
486
|
requirements: []
|
375
|
-
|
376
487
|
rubyforge_project: prawn
|
377
|
-
rubygems_version:
|
488
|
+
rubygems_version: 2.2.1
|
378
489
|
signing_key:
|
379
|
-
specification_version:
|
490
|
+
specification_version: 4
|
380
491
|
summary: A fast and nimble PDF generator for Ruby
|
381
|
-
test_files:
|
382
|
-
|
492
|
+
test_files:
|
493
|
+
- spec/annotations_spec.rb
|
494
|
+
- spec/bounding_box_spec.rb
|
495
|
+
- spec/cell_spec.rb
|
496
|
+
- spec/column_box_spec.rb
|
497
|
+
- spec/destinations_spec.rb
|
498
|
+
- spec/document_spec.rb
|
499
|
+
- spec/font_metric_cache_spec.rb
|
500
|
+
- spec/font_spec.rb
|
501
|
+
- spec/formatted_text_arranger_spec.rb
|
502
|
+
- spec/formatted_text_box_spec.rb
|
503
|
+
- spec/formatted_text_fragment_spec.rb
|
504
|
+
- spec/graphics_spec.rb
|
505
|
+
- spec/grid_spec.rb
|
506
|
+
- spec/image_handler_spec.rb
|
507
|
+
- spec/images_spec.rb
|
508
|
+
- spec/inline_formatted_text_parser_spec.rb
|
509
|
+
- spec/jpg_spec.rb
|
510
|
+
- spec/line_wrap_spec.rb
|
511
|
+
- spec/measurement_units_spec.rb
|
512
|
+
- spec/object_store_spec.rb
|
513
|
+
- spec/outline_spec.rb
|
514
|
+
- spec/png_spec.rb
|
515
|
+
- spec/reference_spec.rb
|
516
|
+
- spec/repeater_spec.rb
|
517
|
+
- spec/security_spec.rb
|
518
|
+
- spec/snapshot_spec.rb
|
519
|
+
- spec/soft_mask_spec.rb
|
520
|
+
- spec/span_spec.rb
|
521
|
+
- spec/stamp_spec.rb
|
522
|
+
- spec/stroke_styles_spec.rb
|
523
|
+
- spec/table_spec.rb
|
524
|
+
- spec/text_at_spec.rb
|
525
|
+
- spec/text_box_spec.rb
|
526
|
+
- spec/text_rendering_mode_spec.rb
|
527
|
+
- spec/text_spacing_spec.rb
|
528
|
+
- spec/text_spec.rb
|
529
|
+
- spec/text_with_inline_formatting_spec.rb
|
530
|
+
- spec/transparency_spec.rb
|
531
|
+
has_rdoc:
|