pdf-writer 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. data/ChangeLog +1 -1
  2. data/LICENCE +9 -3
  3. data/README +1 -1
  4. data/bin/techbook +1 -1
  5. data/demo/chunkybacon.rb +1 -1
  6. data/demo/code.rb +1 -1
  7. data/demo/colornames.rb +1 -1
  8. data/demo/demo.rb +1 -1
  9. data/demo/gettysburg.rb +1 -1
  10. data/demo/hello.rb +1 -1
  11. data/demo/individual-i.rb +1 -1
  12. data/demo/pac.rb +1 -1
  13. data/demo/qr-language.rb +4 -4
  14. data/demo/qr-library.rb +1 -1
  15. data/lib/pdf/charts.rb +1 -1
  16. data/lib/pdf/charts/stddev.rb +2 -2
  17. data/lib/pdf/math.rb +1 -1
  18. data/lib/pdf/quickref.rb +17 -15
  19. data/lib/pdf/simpletable.rb +24 -23
  20. data/lib/pdf/techbook.rb +1 -1
  21. data/lib/pdf/writer.rb +21 -52
  22. data/lib/pdf/writer/arc4.rb +1 -1
  23. data/lib/pdf/writer/fontmetrics.rb +2 -1
  24. data/lib/pdf/writer/fonts/MustRead.html +19 -1
  25. data/lib/pdf/writer/graphics.rb +3 -3
  26. data/lib/pdf/writer/graphics/imageinfo.rb +365 -365
  27. data/lib/pdf/writer/lang.rb +1 -1
  28. data/lib/pdf/writer/lang/en.rb +1 -1
  29. data/lib/pdf/writer/object.rb +1 -1
  30. data/lib/pdf/writer/object/action.rb +1 -1
  31. data/lib/pdf/writer/object/annotation.rb +1 -1
  32. data/lib/pdf/writer/object/catalog.rb +1 -1
  33. data/lib/pdf/writer/object/contents.rb +1 -5
  34. data/lib/pdf/writer/object/destination.rb +1 -1
  35. data/lib/pdf/writer/object/encryption.rb +1 -1
  36. data/lib/pdf/writer/object/font.rb +1 -1
  37. data/lib/pdf/writer/object/fontdescriptor.rb +1 -1
  38. data/lib/pdf/writer/object/fontencoding.rb +1 -1
  39. data/lib/pdf/writer/object/image.rb +1 -5
  40. data/lib/pdf/writer/object/info.rb +3 -7
  41. data/lib/pdf/writer/object/outline.rb +1 -1
  42. data/lib/pdf/writer/object/outlines.rb +1 -1
  43. data/lib/pdf/writer/object/page.rb +1 -1
  44. data/lib/pdf/writer/object/pages.rb +1 -1
  45. data/lib/pdf/writer/object/procset.rb +1 -1
  46. data/lib/pdf/writer/object/viewerpreferences.rb +1 -1
  47. data/lib/pdf/writer/ohash.rb +1 -1
  48. data/lib/pdf/writer/oreader.rb +1 -1
  49. data/lib/pdf/writer/state.rb +1 -1
  50. data/lib/pdf/writer/strokestyle.rb +1 -1
  51. data/manual.pwd +1 -1
  52. metadata +115 -119
  53. data/demo/pagenumber.rb +0 -79
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: lang.rb,v 1.1 2005/05/18 11:57:58 austin Exp $
9
+ # $Id: lang.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
 
12
12
  module PDF::Writer::Lang
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: en.rb,v 1.9.2.1 2005/08/25 03:38:06 austin Exp $
9
+ # $Id: en.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # PDF::Writer::Lang::EN is the English-language output module. It contains a
12
12
  # hash, @message, that contains the messages that may be reported by any
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: object.rb,v 1.3 2005/05/25 11:19:50 austin Exp $
9
+ # $Id: object.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  class PDF::Writer::Object
12
12
  def initialize(parent)
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: action.rb,v 1.5 2005/05/24 22:19:42 austin Exp $
9
+ # $Id: action.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # An action object, used to link to URLS initially
12
12
  class PDF::Writer::Object::Action < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: annotation.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: annotation.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # An annotation object, this will add an annotation to the current page.
12
12
  # initially will support just link annotations.
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: catalog.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: catalog.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Define the document catalog, the overall controller for the document
12
12
  class PDF::Writer::Object::Catalog < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: contents.rb,v 1.2.2.1 2005/08/25 03:38:06 austin Exp $
9
+ # $Id: contents.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # The contents objects hold all of the content which appears on pages
12
12
  class PDF::Writer::Object::Contents < PDF::Writer::Object
@@ -56,10 +56,6 @@ class PDF::Writer::Object::Contents < PDF::Writer::Object
56
56
  res << " /Filter /FlateDecode"
57
57
  tmp = Zlib::Deflate.deflate(tmp)
58
58
  end
59
- if (@parent.encrypted?)
60
- @parent.arc4.prepare(self)
61
- tmp = @parent.arc4.encrypt(tmp)
62
- end
63
59
  @info.each { |k, v| res << "\n/#{k} #{v}" }
64
60
  res << "\n/Length #{tmp.size} >>\nstream\n#{tmp}\nendstream"
65
61
  end
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: destination.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: destination.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Destination object, used to specify the location for the user to jump
12
12
  # to; presently, only on opening.
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: encryption.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: encryption.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Encryption object
12
12
  class PDF::Writer::Object::Encryption < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: font.rb,v 1.5 2005/06/28 21:32:17 austin Exp $
9
+ # $Id: font.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # An object to hold the font description
12
12
  class PDF::Writer::Object::Font < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: fontdescriptor.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: fontdescriptor.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # A font descriptor, needed for including additional fonts. +options+ is a
12
12
  # Hash with one of the following keys: Ascent, CapHeight, Descent, Flags,
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: fontencoding.rb,v 1.4 2005/06/28 21:32:17 austin Exp $
9
+ # $Id: fontencoding.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # The font encoding
12
12
  class PDF::Writer::Object::FontEncoding < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: image.rb,v 1.2.2.1 2005/08/25 03:38:06 austin Exp $
9
+ # $Id: image.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  require 'pdf/writer/oreader'
12
12
 
@@ -298,10 +298,6 @@ class PDF::Writer::External::Image < PDF::Writer::External
298
298
  tmp = @data.dup
299
299
  res = "\n#{@oid} 0 obj\n<<"
300
300
  @info.each { |k, v| res << "\n/#{k} #{v}"}
301
- if (@parent.encrypted?)
302
- @parent.arc4.prepare(self)
303
- tmp = @parent.arc4.encrypt(tmp)
304
- end
305
301
  res << "\n/Length #{tmp.size} >>\nstream\n#{tmp}\nendstream\nendobj\n"
306
302
  res
307
303
  end
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: info.rb,v 1.4 2005/05/25 21:18:08 austin Exp $
9
+ # $Id: info.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Define the document information -- metadata.
12
12
  class PDF::Writer::Object::Info < PDF::Writer::Object
@@ -32,7 +32,6 @@ class PDF::Writer::Object::Info < PDF::Writer::Object
32
32
  end
33
33
 
34
34
  def to_s
35
- @parent.arc4.prepare(self) if @parent.encrypted?
36
35
  res = "\n#{@oid} 0 obj\n<<\n"
37
36
  Info.each do |i|
38
37
  v = __send__("#{i.downcase}".intern)
@@ -43,11 +42,8 @@ class PDF::Writer::Object::Info < PDF::Writer::Object
43
42
  v = v.utc
44
43
  v = s % [ v.year, v.month, v.day, v.hour, v.min ]
45
44
  end
46
- if @parent.encrypted?
47
- res << PDF::Writer.escape(@parent.arc4.encrypt(v))
48
- else
49
- res << PDF::Writer.escape(v)
50
- end
45
+
46
+ res << PDF::Writer.escape(v)
51
47
  res << ")\n"
52
48
  end
53
49
  res << ">>\nendobj"
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: outline.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: outline.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Define the outlines in the doc, empty for now
12
12
  class PDF::Writer::Object::Outline < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: outlines.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: outlines.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Define the outlines in the doc, empty for now
12
12
  class PDF::Writer::Object::Outlines < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: page.rb,v 1.3 2005/06/02 21:20:35 austin Exp $
9
+ # $Id: page.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # A page object, it also creates a contents object to hold its contents
12
12
  class PDF::Writer::Object::Page < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: pages.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: pages.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # object which is a parent to the pages in the document
12
12
  class PDF::Writer::Object::Pages < PDF::Writer::Object
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: procset.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: procset.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # The document Procedure Set. Not necessary in PDF 1.4 or later, but
12
12
  # producing applications are recommended to provide the /ProcSet /Resource
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: viewerpreferences.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: viewerpreferences.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Set the viewer preferences.
12
12
  #
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: ohash.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: ohash.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # Based on [ruby-talk:20551]. Updated to (hopefully) be 1.8 friendly.
12
12
  class PDF::Writer::OHash < Hash
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: oreader.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: oreader.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  module PDF::Writer::OffsetReader
12
12
  def read_o(length = 1, offset = nil)
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: state.rb,v 1.2 2005/05/16 03:59:21 austin Exp $
9
+ # $Id: state.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  class PDF::Writer
12
12
  class State
@@ -6,7 +6,7 @@
6
6
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
7
  # for full licensing information.
8
8
  #
9
- # $Id: strokestyle.rb,v 1.5 2005/06/02 21:20:35 austin Exp $
9
+ # $Id: strokestyle.rb 184 2007-12-10 03:18:48Z sandal $
10
10
  #++
11
11
  # A class that represents a style with which lines will be drawn.
12
12
  class PDF::Writer::StrokeStyle
data/manual.pwd CHANGED
@@ -5960,6 +5960,6 @@ pdf.stop_page_numbering(true, :current)
5960
5960
  # Licensed under a MIT-style licence. See LICENCE in the main distribution
5961
5961
  # for full licensing information.
5962
5962
  #
5963
- # $Id: manual.pwd,v 1.51.2.4 2005/09/09 12:36:42 austin Exp $
5963
+ # $Id: manual.pwd 184 2007-12-10 03:18:48Z sandal $
5964
5964
  # vim: sts=2 sw=2 ts=4 et ai tw=77 foldmethod=marker foldcolumn=2
5965
5965
  #++
metadata CHANGED
@@ -1,147 +1,143 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: pdf-writer
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.3
7
- date: 2005-09-09 00:00:00 -04:00
6
+ version: 1.1.4
7
+ date: 2007-12-09 00:00:00 -05:00
8
8
  summary: A pure Ruby PDF document creation library.
9
9
  require_paths:
10
- - lib
10
+ - lib
11
11
  email: austin@rubyforge.org
12
12
  homepage: http://rubyforge.org/projects/ruby-pdf
13
13
  rubyforge_project: ruby-pdf
14
- description: "This library provides the ability to create PDF documents using only native Ruby
15
- libraries. There are several demo programs available in the demo/ directory. The
16
- canonical documentation for PDF::Writer is \"manual.pdf\", which can be
17
- generated using bin/techbook (just \"techbook\" for RubyGem users) and the
18
- manual file \"manual.pwd\"."
14
+ description: This library provides the ability to create PDF documents using only native Ruby libraries. There are several demo programs available in the demo/ directory. The canonical documentation for PDF::Writer is "manual.pdf", which can be generated using bin/techbook (just "techbook" for RubyGem users) and the manual file "manual.pwd".
19
15
  autorequire: pdf/writer
20
16
  default_executable:
21
17
  bindir: bin
22
18
  has_rdoc: true
23
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
24
20
  requirements:
25
- -
26
- - ">"
27
- - !ruby/object:Gem::Version
28
- version: 0.0.0
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
29
24
  version:
30
25
  platform: ruby
31
26
  signing_key:
32
27
  cert_chain:
28
+ post_install_message:
33
29
  authors:
34
- - Austin Ziegler
30
+ - Austin Ziegler
35
31
  files:
36
- - README
37
- - LICENCE
38
- - ChangeLog
39
- - bin/techbook
40
- - lib/pdf
41
- - lib/pdf/charts
42
- - lib/pdf/charts.rb
43
- - lib/pdf/math.rb
44
- - lib/pdf/quickref.rb
45
- - lib/pdf/simpletable.rb
46
- - lib/pdf/techbook.rb
47
- - lib/pdf/writer
48
- - lib/pdf/writer.rb
49
- - lib/pdf/charts/stddev.rb
50
- - lib/pdf/writer/arc4.rb
51
- - lib/pdf/writer/fontmetrics.rb
52
- - lib/pdf/writer/fonts
53
- - lib/pdf/writer/graphics
54
- - lib/pdf/writer/graphics.rb
55
- - lib/pdf/writer/lang
56
- - lib/pdf/writer/lang.rb
57
- - lib/pdf/writer/object
58
- - lib/pdf/writer/object.rb
59
- - lib/pdf/writer/ohash.rb
60
- - lib/pdf/writer/oreader.rb
61
- - lib/pdf/writer/state.rb
62
- - lib/pdf/writer/strokestyle.rb
63
- - lib/pdf/writer/fonts/Courier-Bold.afm
64
- - lib/pdf/writer/fonts/Courier-BoldOblique.afm
65
- - lib/pdf/writer/fonts/Courier-Oblique.afm
66
- - lib/pdf/writer/fonts/Courier.afm
67
- - lib/pdf/writer/fonts/Helvetica-Bold.afm
68
- - lib/pdf/writer/fonts/Helvetica-BoldOblique.afm
69
- - lib/pdf/writer/fonts/Helvetica-Oblique.afm
70
- - lib/pdf/writer/fonts/Helvetica.afm
71
- - lib/pdf/writer/fonts/MustRead.html
72
- - lib/pdf/writer/fonts/Symbol.afm
73
- - lib/pdf/writer/fonts/Times-Bold.afm
74
- - lib/pdf/writer/fonts/Times-BoldItalic.afm
75
- - lib/pdf/writer/fonts/Times-Italic.afm
76
- - lib/pdf/writer/fonts/Times-Roman.afm
77
- - lib/pdf/writer/fonts/ZapfDingbats.afm
78
- - lib/pdf/writer/graphics/imageinfo.rb
79
- - lib/pdf/writer/lang/en.rb
80
- - lib/pdf/writer/object/action.rb
81
- - lib/pdf/writer/object/annotation.rb
82
- - lib/pdf/writer/object/catalog.rb
83
- - lib/pdf/writer/object/contents.rb
84
- - lib/pdf/writer/object/destination.rb
85
- - lib/pdf/writer/object/encryption.rb
86
- - lib/pdf/writer/object/font.rb
87
- - lib/pdf/writer/object/fontdescriptor.rb
88
- - lib/pdf/writer/object/fontencoding.rb
89
- - lib/pdf/writer/object/image.rb
90
- - lib/pdf/writer/object/info.rb
91
- - lib/pdf/writer/object/outline.rb
92
- - lib/pdf/writer/object/outlines.rb
93
- - lib/pdf/writer/object/page.rb
94
- - lib/pdf/writer/object/pages.rb
95
- - lib/pdf/writer/object/procset.rb
96
- - lib/pdf/writer/object/viewerpreferences.rb
97
- - demo/chunkybacon.rb
98
- - demo/code.rb
99
- - demo/colornames.rb
100
- - demo/demo.rb
101
- - demo/gettysburg.rb
102
- - demo/hello.rb
103
- - demo/individual-i.rb
104
- - demo/pac.rb
105
- - demo/pagenumber.rb
106
- - demo/qr-language.rb
107
- - demo/qr-library.rb
108
- - images/bluesmoke.jpg
109
- - images/chunkybacon.jpg
110
- - images/chunkybacon.png
111
- - manual.pwd
32
+ - README
33
+ - LICENCE
34
+ - ChangeLog
35
+ - bin/techbook
36
+ - lib/pdf
37
+ - lib/pdf/charts
38
+ - lib/pdf/charts.rb
39
+ - lib/pdf/math.rb
40
+ - lib/pdf/quickref.rb
41
+ - lib/pdf/simpletable.rb
42
+ - lib/pdf/techbook.rb
43
+ - lib/pdf/writer
44
+ - lib/pdf/writer.rb
45
+ - lib/pdf/charts/stddev.rb
46
+ - lib/pdf/writer/arc4.rb
47
+ - lib/pdf/writer/fontmetrics.rb
48
+ - lib/pdf/writer/fonts
49
+ - lib/pdf/writer/graphics
50
+ - lib/pdf/writer/graphics.rb
51
+ - lib/pdf/writer/lang
52
+ - lib/pdf/writer/lang.rb
53
+ - lib/pdf/writer/object
54
+ - lib/pdf/writer/object.rb
55
+ - lib/pdf/writer/ohash.rb
56
+ - lib/pdf/writer/oreader.rb
57
+ - lib/pdf/writer/state.rb
58
+ - lib/pdf/writer/strokestyle.rb
59
+ - lib/pdf/writer/fonts/Courier-Bold.afm
60
+ - lib/pdf/writer/fonts/Courier-BoldOblique.afm
61
+ - lib/pdf/writer/fonts/Courier-Oblique.afm
62
+ - lib/pdf/writer/fonts/Courier.afm
63
+ - lib/pdf/writer/fonts/Helvetica-Bold.afm
64
+ - lib/pdf/writer/fonts/Helvetica-BoldOblique.afm
65
+ - lib/pdf/writer/fonts/Helvetica-Oblique.afm
66
+ - lib/pdf/writer/fonts/Helvetica.afm
67
+ - lib/pdf/writer/fonts/MustRead.html
68
+ - lib/pdf/writer/fonts/Symbol.afm
69
+ - lib/pdf/writer/fonts/Times-Bold.afm
70
+ - lib/pdf/writer/fonts/Times-BoldItalic.afm
71
+ - lib/pdf/writer/fonts/Times-Italic.afm
72
+ - lib/pdf/writer/fonts/Times-Roman.afm
73
+ - lib/pdf/writer/fonts/ZapfDingbats.afm
74
+ - lib/pdf/writer/graphics/imageinfo.rb
75
+ - lib/pdf/writer/lang/en.rb
76
+ - lib/pdf/writer/object/action.rb
77
+ - lib/pdf/writer/object/annotation.rb
78
+ - lib/pdf/writer/object/catalog.rb
79
+ - lib/pdf/writer/object/contents.rb
80
+ - lib/pdf/writer/object/destination.rb
81
+ - lib/pdf/writer/object/encryption.rb
82
+ - lib/pdf/writer/object/font.rb
83
+ - lib/pdf/writer/object/fontdescriptor.rb
84
+ - lib/pdf/writer/object/fontencoding.rb
85
+ - lib/pdf/writer/object/image.rb
86
+ - lib/pdf/writer/object/info.rb
87
+ - lib/pdf/writer/object/outline.rb
88
+ - lib/pdf/writer/object/outlines.rb
89
+ - lib/pdf/writer/object/page.rb
90
+ - lib/pdf/writer/object/pages.rb
91
+ - lib/pdf/writer/object/procset.rb
92
+ - lib/pdf/writer/object/viewerpreferences.rb
93
+ - demo/chunkybacon.rb
94
+ - demo/code.rb
95
+ - demo/colornames.rb
96
+ - demo/demo.rb
97
+ - demo/gettysburg.rb
98
+ - demo/hello.rb
99
+ - demo/individual-i.rb
100
+ - demo/pac.rb
101
+ - demo/qr-language.rb
102
+ - demo/qr-library.rb
103
+ - images/bluesmoke.jpg
104
+ - images/chunkybacon.jpg
105
+ - images/chunkybacon.png
106
+ - manual.pwd
112
107
  test_files: []
108
+
113
109
  rdoc_options:
114
- - "--title"
115
- - PDF::Writer
116
- - "--main"
117
- - README
118
- - "--line-numbers"
110
+ - --title
111
+ - PDF::Writer
112
+ - --main
113
+ - README
114
+ - --line-numbers
119
115
  extra_rdoc_files:
120
- - README
121
- - ChangeLog
122
- - LICENCE
116
+ - README
117
+ - ChangeLog
118
+ - LICENCE
123
119
  executables:
124
- - techbook
120
+ - techbook
125
121
  extensions: []
122
+
126
123
  requirements: []
124
+
127
125
  dependencies:
128
- - !ruby/object:Gem::Dependency
129
- name: color-tools
130
- version_requirement:
131
- version_requirements: !ruby/object:Gem::Version::Requirement
132
- requirements:
133
- -
134
- - "~>"
135
- - !ruby/object:Gem::Version
136
- version: "1.3"
137
- version:
138
- - !ruby/object:Gem::Dependency
139
- name: transaction-simple
140
- version_requirement:
141
- version_requirements: !ruby/object:Gem::Version::Requirement
142
- requirements:
143
- -
144
- - "~>"
145
- - !ruby/object:Gem::Version
146
- version: "1.3"
147
- version:
126
+ - !ruby/object:Gem::Dependency
127
+ name: color
128
+ version_requirement:
129
+ version_requirements: !ruby/object:Gem::Version::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 1.4.0
134
+ version:
135
+ - !ruby/object:Gem::Dependency
136
+ name: transaction-simple
137
+ version_requirement:
138
+ version_requirements: !ruby/object:Gem::Version::Requirement
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: "1.3"
143
+ version: