pdf-writer 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/ChangeLog +44 -0
  2. data/LICENCE +118 -0
  3. data/README +32 -0
  4. data/bin/loader +54 -0
  5. data/bin/manual +22 -0
  6. data/bin/manual.bat +2 -0
  7. data/demo/chunkybacon.rb +28 -0
  8. data/demo/code.rb +63 -0
  9. data/demo/colornames.rb +843 -0
  10. data/demo/demo.rb +65 -0
  11. data/demo/gettysburg.rb +58 -0
  12. data/demo/hello.rb +18 -0
  13. data/demo/individual-i.rb +81 -0
  14. data/demo/pac.rb +62 -0
  15. data/demo/pagenumber.rb +67 -0
  16. data/demo/qr-language.rb +573 -0
  17. data/demo/qr-library.rb +371 -0
  18. data/images/chunkybacon.jpg +0 -0
  19. data/images/chunkybacon.png +0 -0
  20. data/images/pdfwriter-icon.jpg +0 -0
  21. data/images/pdfwriter-small.jpg +0 -0
  22. data/lib/pdf/charts.rb +13 -0
  23. data/lib/pdf/charts/stddev.rb +431 -0
  24. data/lib/pdf/grid.rb +135 -0
  25. data/lib/pdf/math.rb +108 -0
  26. data/lib/pdf/quickref.rb +330 -0
  27. data/lib/pdf/simpletable.rb +946 -0
  28. data/lib/pdf/techbook.rb +890 -0
  29. data/lib/pdf/writer.rb +2661 -0
  30. data/lib/pdf/writer/arc4.rb +63 -0
  31. data/lib/pdf/writer/fontmetrics.rb +201 -0
  32. data/lib/pdf/writer/fonts/Courier-Bold.afm +342 -0
  33. data/lib/pdf/writer/fonts/Courier-BoldOblique.afm +342 -0
  34. data/lib/pdf/writer/fonts/Courier-Oblique.afm +342 -0
  35. data/lib/pdf/writer/fonts/Courier.afm +342 -0
  36. data/lib/pdf/writer/fonts/Helvetica-Bold.afm +2827 -0
  37. data/lib/pdf/writer/fonts/Helvetica-BoldOblique.afm +2827 -0
  38. data/lib/pdf/writer/fonts/Helvetica-Oblique.afm +3051 -0
  39. data/lib/pdf/writer/fonts/Helvetica.afm +3051 -0
  40. data/lib/pdf/writer/fonts/MustRead.html +1 -0
  41. data/lib/pdf/writer/fonts/Symbol.afm +213 -0
  42. data/lib/pdf/writer/fonts/Times-Bold.afm +2588 -0
  43. data/lib/pdf/writer/fonts/Times-BoldItalic.afm +2384 -0
  44. data/lib/pdf/writer/fonts/Times-Italic.afm +2667 -0
  45. data/lib/pdf/writer/fonts/Times-Roman.afm +2419 -0
  46. data/lib/pdf/writer/fonts/ZapfDingbats.afm +225 -0
  47. data/lib/pdf/writer/graphics.rb +727 -0
  48. data/lib/pdf/writer/graphics/imageinfo.rb +365 -0
  49. data/lib/pdf/writer/lang.rb +43 -0
  50. data/lib/pdf/writer/lang/en.rb +77 -0
  51. data/lib/pdf/writer/object.rb +23 -0
  52. data/lib/pdf/writer/object/action.rb +40 -0
  53. data/lib/pdf/writer/object/annotation.rb +42 -0
  54. data/lib/pdf/writer/object/catalog.rb +39 -0
  55. data/lib/pdf/writer/object/contents.rb +68 -0
  56. data/lib/pdf/writer/object/destination.rb +40 -0
  57. data/lib/pdf/writer/object/encryption.rb +53 -0
  58. data/lib/pdf/writer/object/font.rb +76 -0
  59. data/lib/pdf/writer/object/fontdescriptor.rb +34 -0
  60. data/lib/pdf/writer/object/fontencoding.rb +39 -0
  61. data/lib/pdf/writer/object/image.rb +168 -0
  62. data/lib/pdf/writer/object/info.rb +55 -0
  63. data/lib/pdf/writer/object/outline.rb +30 -0
  64. data/lib/pdf/writer/object/outlines.rb +30 -0
  65. data/lib/pdf/writer/object/page.rb +195 -0
  66. data/lib/pdf/writer/object/pages.rb +115 -0
  67. data/lib/pdf/writer/object/procset.rb +46 -0
  68. data/lib/pdf/writer/object/viewerpreferences.rb +74 -0
  69. data/lib/pdf/writer/ohash.rb +58 -0
  70. data/lib/pdf/writer/oreader.rb +25 -0
  71. data/lib/pdf/writer/state.rb +48 -0
  72. data/lib/pdf/writer/strokestyle.rb +138 -0
  73. data/manual.pwd +5151 -0
  74. metadata +147 -0
@@ -0,0 +1,44 @@
1
+ = PDF::Writer Change Log
2
+
3
+ == PDF::Writer 1.0.0
4
+ * Integrated ezwriter.rb functionality with writer.rb.
5
+ * Factored out some functionality into modules and classes.
6
+ * Added CMYK colour support to JPEG images.
7
+ * Uses Color::CMYK (from color-utils) to provide CMYK support to drawing
8
+ capabilities.
9
+ * Simplified the image API significantly.
10
+ * Modified image support to properly handle full image flipping.
11
+ * Fixed several multi-column issues.
12
+ * Fixed a bug where new pages automatically started by overflowing text may
13
+ have resulted in writing the first line of text above the top margin. This
14
+ may need further testing and probably causes problems with column handling.
15
+ * Fixed some page numbering issues.
16
+ * Added several demos, including Ruby Quick Reference Sheets.
17
+ * Scrubbed the API.
18
+ * Updated the documentation.
19
+ * Changed installer to setup.rb 3.3.1-modified.
20
+ * Applied an image resize patch; the image will be resized manually before
21
+ checking to see if a new page is required. Thanks to Leslie Hensley.
22
+ * Fixed a bug where entities would generate the width specified for the
23
+ component characters, not the represented characters.
24
+ * Fixed a performance bug. Thanks again to Leslie Hensley.
25
+
26
+ == PDF::Writer 0.1.2 (CVS only)
27
+ * Fixed a problem with the improper reading of character numbers from .afm
28
+ files that are not default files. Other font issues remain but will be fixed
29
+ at a later date.
30
+
31
+ == PDF::Writer 0.1.0
32
+ * Initial technology preview.
33
+
34
+ #--
35
+ # PDF::Writer for Ruby.
36
+ # http://rubyforge.org/projects/ruby-pdf/
37
+ # Copyright 2003 - 2005 Austin Ziegler.
38
+ #
39
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
40
+ # for full licensing information.
41
+ #
42
+ # $Id: ChangeLog,v 1.8 2005/06/07 04:19:57 austin Exp $
43
+ #++
44
+ # vim: sts=2 sw=2 ts=4 et ai tw=77
data/LICENCE ADDED
@@ -0,0 +1,118 @@
1
+ = PDF::Writer for Ruby
2
+ Homepage:: http://rubyforge.org/projects/ruby-pdf/
3
+ Copyright:: Copyright � 2003�2005 Austin Ziegler.
4
+ Summary:: MIT-style
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ * The names of its contributors may not be used to endorse or promote
14
+ products derived from this software without specific prior written
15
+ permission.
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ == Works Included Under Other Licences
29
+ === lib/pdf/writer/graphics/imageinfo.rb
30
+ PDF::Writer includes a derivative of Keisuke Minami's ImageSize library,
31
+ which can be found at rubycgi[http://www.rubycgi.org/tools/index.en.htm].
32
+ This work�and only this or other named works�may be treated as under the Ruby
33
+ licensing scheme (GPL 2 or later, Ruby's licence) as well as the overall
34
+ PDF::Writer licence.
35
+
36
+ === Ruby Quick Reference Sheets
37
+ PDF::Writer has demo programs that will create Quick Reference cards for
38
+ Ruby. The content and output of these programs is copyright 2003�2005 Ryan
39
+ Davis and is licensed under the Creative Commons
40
+ Attribution-NonCommercial-ShareAlike[http://creativecommons.org/licenses/by-nc-sa/2.0/]
41
+ licence.
42
+
43
+ === Images from "Why's (Poignant) Guide to Ruby"
44
+ One of the demo programs uses images originally from "Why's (Poignant) Guide
45
+ to Ruby"[http://poignantguide.net/ruby], with permission. These immages are
46
+ released under the Creative Commons
47
+ Attributions ShareAlike[http://creativecommons.org/licenses/by-sa/2.0/]
48
+ licence.
49
+
50
+ === Adobe PostScript AFM Files
51
+ [MustRead.html] and the 14 PostScript(R) AFM files it accompanies may be
52
+ used, copied, and distributed for any purpose and without charge, with or
53
+ without modification, provided that all copyright notices are retained; that
54
+ the AFM files are not distributed without this file; that all modifications
55
+ to this file or any of the AFM files are prominently noted in the modified
56
+ file(s); and that this paragraph is not modified. Adobe Systems has no
57
+ responsibility or obligation to support the use of the AFM files.
58
+
59
+ == Other Credits
60
+ === PDF::Writer
61
+ PDF::Writer is based originally on the R & OS PDF class for
62
+ PHP[http://www.ros.co.nz/pdf/], which is released as public domain.
63
+
64
+ === Standard Deviation Chart
65
+ The standard deviation chart (lib/pdf/charts/stddev.rb) class is based on
66
+ work by Cris Ewing[mailto:cewing@u.washington.edu] of the University of
67
+ Washington School of Medicine, originally created for the R & OS PDF class
68
+ for PHP. He has graciously donated the code for PDF::Writer for Ruby.
69
+
70
+ == Patents Covering the Adobe PDF Format
71
+ === ADOBE PATENTS
72
+ This software is based on Adobe's PDF Reference, Third Edition, version 1.6.
73
+ There may be limitations on the use of this library based on patent
74
+ restrictions from Adobe. See bewlow for more information.
75
+
76
+ === UNISYS LZW PATENT
77
+ This software does not fully conform to the Adobe PDF specification because
78
+ no support for LZW is included in this software. At the time of original
79
+ development of this software (2003), the Unisys LZW patent was still in
80
+ effect outside of the United States. This will be modified in a future
81
+ version of this software.
82
+
83
+ == Patent Clarification Notice: Reading and Writing PDF Files
84
+ Adobe has a number of patents covering technology that is disclosed in the
85
+ Portable Document Format (PDF) Specification, version 1.6 and later, as
86
+ documented in PDF Reference and associated Technical Notes (the
87
+ "Specification". Adobe desires to promote the use of PDF for information
88
+ interchange among diverse products and applications.
89
+
90
+ Accordingly, the following patents are licensed on a royalty-free, non-
91
+ exclusive basis for the term of each patent and for the sole purpose of
92
+ developing software that produces, consumes, and interprets PDF files that
93
+ are compliant with the Specification:
94
+
95
+ U.S. Patent Numbers: 5,634,064; 5,737,599; 5,781,785; 5,819,301; 6,028,583;
96
+ 6,289,364; 6,421,460
97
+
98
+ In addition, the following patent is licensed on a royalty-free, non-
99
+ exclusive basis for its term and for the sole purpose of developing software
100
+ that produces PDF files that are compliant with the Specification
101
+ (specifically excluding, however, software that consumes and/or interprets
102
+ PDF files):
103
+
104
+ U.S. Patent Numbers: 5,860,074
105
+
106
+ The above licenses are limited to only those rights required to implement the
107
+ Specification and no others. That is to say, Adobe grants only those rights
108
+ in the above patent(s) necessarily practiced to implement the Specification,
109
+ and does not grant any rights not required to implement the Specification.
110
+ The licenses do not grant the right to practice any patent covering other
111
+ technologies, such as implementation techniques that are not explicitly
112
+ disclosed in the Specification, nor does it allow the use of any patented
113
+ feature for any purpose other than as set forth in the applicable license
114
+ grant. Adobe has other patents in various fields, none of which are hereby
115
+ licensed.
116
+
117
+ $Id: LICENCE,v 1.7 2005/06/06 21:12:12 austin Exp $
118
+ # vim: sts=2 sw=2 ts=4 et ai tw=77
data/README ADDED
@@ -0,0 +1,32 @@
1
+ = PDF::Writer for Ruby
2
+ This library provides the ability to create PDF documents using only native
3
+ Ruby libraries. There are several demo programs available in the demo/
4
+ directory. The canonical documentation for PDF::Writer is "manual.pdf", which
5
+ can be generated by "manual.rb" and "manual.pwd".
6
+
7
+ Homepage:: http://rubyforge.org/projects/ruby-pdf/
8
+ Copyright:: 2003�2005, Austin Ziegler
9
+
10
+ This software is based on Adobe's PDF Reference, Fifth Edition, version 1.6.
11
+ This and earlier editions are available from Adobe's PDF developer
12
+ website[http://partners.adobe.com/public/developer/pdf/index_reference.html].
13
+
14
+ == LICENCE NOTES
15
+ Please read the file LICENCE for licensing restrictions on this library, as
16
+ well as important patent considerations.
17
+
18
+ == Requirements
19
+ PDF::Writer requires Ruby 1.8.2 or better, color-tools 1.0.0 or better, and
20
+ Transaction::Simple 1.3.0 or better.
21
+
22
+ #--
23
+ # PDF::Writer for Ruby.
24
+ # http://rubyforge.org/projects/ruby-pdf/
25
+ # Copyright 2003 - 2005 Austin Ziegler.
26
+ #
27
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
28
+ # for full licensing information.
29
+ #
30
+ # $Id: README,v 1.6 2005/05/16 03:59:21 austin Exp $
31
+ #++
32
+ # vim: sts=2 sw=2 ts=4 et ai tw=77
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env ruby
2
+ #--
3
+ # PDF::Writer for Ruby.
4
+ # http://rubyforge.org/projects/ruby-pdf/
5
+ # Copyright 2003 - 2005 Austin Ziegler.
6
+ #
7
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
8
+ # for full licensing information.
9
+ #
10
+ # $Id: loader,v 1.1 2005/05/16 04:01:55 austin Exp $
11
+ #++
12
+
13
+ # 1. Try to load the specified library from ./lib.
14
+ # 2. ... ../lib.
15
+ # 3. ... relative to the running script (File.dirname($0)/lib).
16
+ # 4. ... relative ... (File.dirname($0)/../lib).
17
+ # 5. ... according to provided library paths, one at a time.
18
+ # 6. ... the unmodified $LOAD_PATH (e.g., site_ruby).
19
+ # 7. ... with RubyGems.
20
+ # 8. Fail hard.
21
+ class ClassLoader
22
+ def initialize(library, options = { :libs => [] })
23
+ @last = false
24
+ @saved = $LOAD_PATH.dup
25
+ @library = library
26
+ @output = options[:output]
27
+ @libs = %W(#{Dir.pwd}/lib #{Dir.pwd}/../lib
28
+ #{File.dirname($0)}/lib #{File.dirname($0)}/../lib) +
29
+ (options[:libs] || [])
30
+
31
+ $LOAD_PATH.unshift @libs.shift
32
+
33
+ __require__
34
+ end
35
+
36
+ def __require__
37
+ require @library
38
+ rescue LoadError => ex
39
+ @output << ex << "\n" << ex.backtrace.join("\n") if @output
40
+
41
+ raise ex if @last
42
+
43
+ $LOAD_PATH.replace(@saved)
44
+
45
+ if @libs.empty?
46
+ @last = true
47
+ require 'rubygems'
48
+ else
49
+ $LOAD_PATH.unshift @libs.shift
50
+ end
51
+
52
+ retry
53
+ end
54
+ end
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ #--
3
+ # PDF::Writer for Ruby.
4
+ # http://rubyforge.org/projects/ruby-pdf/
5
+ # Copyright 2003 - 2005 Austin Ziegler.
6
+ #
7
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
8
+ # for full licensing information.
9
+ #
10
+ # $Id: manual,v 1.1 2005/05/16 04:01:55 austin Exp $
11
+ #++
12
+
13
+ begin
14
+ load 'loader'
15
+ rescue LoadError
16
+ load 'bin/loader'
17
+ end
18
+ ClassLoader.new 'pdf/writer'
19
+
20
+ require 'pdf/techbook'
21
+
22
+ PDF::TechBook.run(ARGV)
@@ -0,0 +1,2 @@
1
+ @echo off
2
+ "C:\Apps\Ruby\bin\ruby.exe" "bin\manual" %*
@@ -0,0 +1,28 @@
1
+ #--
2
+ # PDF::Writer for Ruby.
3
+ # http://rubyforge.org/projects/ruby-pdf/
4
+ # Copyright 2003 - 2005 Austin Ziegler.
5
+ #
6
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
+ # for full licensing information.
8
+ #
9
+ # Images used in this demo are copyright 2004 - 2005 Why the Lucky Stiff
10
+ # and are from "Why's (Poignant) Guide to Ruby" at
11
+ # <http://poignantguide.net/ruby> with permission.
12
+ #
13
+ # $Id: chunkybacon.rb,v 1.5 2005/06/07 04:19:57 austin Exp $
14
+ #++
15
+ load '../bin/loader'
16
+ ClassLoader.new('pdf/writer')
17
+
18
+ pdf = PDF::Writer.new
19
+ pdf.select_font "Times-Roman"
20
+ pdf.text "Chunky Bacon!!", :font_size => 72, :justification => :center
21
+
22
+ i0 = pdf.image "../images/chunkybacon.jpg", :resize => 0.75
23
+ i1 = pdf.image "../images/chunkybacon.png", :justification => :center, :resize => 0.75
24
+ pdf.image i0, :justification => :right, :resize => 0.75
25
+
26
+ pdf.text "Chunky Bacon!!", :font_size => 72, :justification => :center
27
+
28
+ pdf.save_as("chunkbacon.pdf")
@@ -0,0 +1,63 @@
1
+ #--
2
+ # PDF::Writer for Ruby.
3
+ # http://rubyforge.org/projects/ruby-pdf/
4
+ # Copyright 2003 - 2005 Austin Ziegler.
5
+ #
6
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
+ # for full licensing information.
8
+ #
9
+ # The code in this file is highly experimental and is not generally ready
10
+ # for use. I can't figure out why the stuff *after* is so far to the right.
11
+ # I'll need to play with the X position some to get it right. This will NOT
12
+ # make it into the 1.0 release. Maybe 1.1 or 1.2.
13
+ #
14
+ # $Id: code.rb,v 1.2 2005/06/07 04:19:57 austin Exp $
15
+ #++
16
+ load '../bin/loader'
17
+ ClassLoader.new('pdf/writer')
18
+
19
+ pdf = PDF::Writer.new
20
+ pdf.select_font "Times-Roman"
21
+
22
+ class TagCodeFont
23
+ FONT_NAME = "Courier"
24
+ FONT_ENCODING = nil
25
+ FONT_SIZE_DIFF = 0.9
26
+
27
+ class << self
28
+ attr_accessor :font_name
29
+
30
+ def [](pdf, info)
31
+ @font_name ||= FONT_NAME
32
+ @font_encoding ||= FONT_ENCODING
33
+
34
+ case info[:status]
35
+ when :start, :start_line
36
+ @__fontinfo ||= {}
37
+ @__fontinfo[info[:cbid]] = {
38
+ :font => pdf.current_font,
39
+ :base_font => pdf.current_base_font,
40
+ :info => info
41
+ }
42
+
43
+ pdf.select_font(@font_name, @font_encoding)
44
+
45
+ { :font_change => true }
46
+ when :end, :end_line
47
+ fi = @__fontinfo[info[:cbid]]
48
+
49
+ pdf.font_size = fi[:font_size]
50
+ pdf.select_font(fi[:base_font])
51
+ pdf.select_font(fi[:font])
52
+ end
53
+ end
54
+ end
55
+ end
56
+
57
+ PDF::Writer::TAGS[:pair]["code"] = TagCodeFont
58
+
59
+ pdf.text "Hello, <c:code>Ruby</c:code>.", :font_size => 72, :justification => :center
60
+ pdf.move_pointer(80)
61
+ pdf.text "This is a longer <c:code>sample of code font text</c:code>. What do you think?", :font_size => 12, :justification => :full
62
+
63
+ pdf.save_as("code.pdf")
@@ -0,0 +1,843 @@
1
+ #--
2
+ # PDF::Writer for Ruby.
3
+ # http://rubyforge.org/projects/ruby-pdf/
4
+ # Copyright 2003 - 2005 Austin Ziegler.
5
+ #
6
+ # Licensed under a MIT-style licence. See LICENCE in the main distribution
7
+ # for full licensing information.
8
+ #
9
+ # $Id: colornames.rb,v 1.1 2005/06/12 15:35:43 austin Exp $
10
+ #++
11
+ load '../bin/loader'
12
+ ClassLoader.new('pdf/writer')
13
+
14
+ pdf = PDF::Writer.new
15
+
16
+ pdf.start_columns 4
17
+
18
+ pdf.fill_color Color::Black
19
+ pdf.text("Black", :font_size => 24)
20
+ pdf.fill_color Color::Black
21
+ pdf.text("Black", :font_size => 12, :justification => :center)
22
+
23
+ pdf.fill_color Color::Navy
24
+ pdf.text("Navy", :font_size => 24)
25
+ pdf.fill_color Color::Black
26
+ pdf.text("Navy", :font_size => 12, :justification => :center)
27
+
28
+ pdf.fill_color Color::DarkBlue
29
+ pdf.text("DarkBlue", :font_size => 24)
30
+ pdf.fill_color Color::Black
31
+ pdf.text("DarkBlue", :font_size => 12, :justification => :center)
32
+
33
+ pdf.fill_color Color::MediumBlue
34
+ pdf.text("MediumBlue", :font_size => 24)
35
+ pdf.fill_color Color::Black
36
+ pdf.text("MediumBlue", :font_size => 12, :justification => :center)
37
+
38
+ pdf.fill_color Color::Blue
39
+ pdf.text("Blue", :font_size => 24)
40
+ pdf.fill_color Color::Black
41
+ pdf.text("Blue", :font_size => 12, :justification => :center)
42
+
43
+ pdf.fill_color Color::DarkGreen
44
+ pdf.text("DarkGreen", :font_size => 24)
45
+ pdf.fill_color Color::Black
46
+ pdf.text("DarkGreen", :font_size => 12, :justification => :center)
47
+
48
+ pdf.fill_color Color::Green
49
+ pdf.text("Green", :font_size => 24)
50
+ pdf.fill_color Color::Black
51
+ pdf.text("Green", :font_size => 12, :justification => :center)
52
+
53
+ pdf.fill_color Color::Teal
54
+ pdf.text("Teal", :font_size => 24)
55
+ pdf.fill_color Color::Black
56
+ pdf.text("Teal", :font_size => 12, :justification => :center)
57
+
58
+ pdf.fill_color Color::DarkCyan
59
+ pdf.text("DarkCyan", :font_size => 24)
60
+ pdf.fill_color Color::Black
61
+ pdf.text("DarkCyan", :font_size => 12, :justification => :center)
62
+
63
+ pdf.fill_color Color::DeepSkyBlue
64
+ pdf.text("DeepSkyBlue", :font_size => 24)
65
+ pdf.fill_color Color::Black
66
+ pdf.text("DeepSkyBlue", :font_size => 12, :justification => :center)
67
+
68
+ pdf.fill_color Color::DarkTurquoise
69
+ pdf.text("DarkTurquoise", :font_size => 24)
70
+ pdf.fill_color Color::Black
71
+ pdf.text("DarkTurquoise", :font_size => 12, :justification => :center)
72
+
73
+ pdf.fill_color Color::MediumSpringGreen
74
+ pdf.text("MediumSpringGreen", :font_size => 24)
75
+ pdf.fill_color Color::Black
76
+ pdf.text("MediumSpringGreen", :font_size => 12, :justification => :center)
77
+
78
+ pdf.fill_color Color::Lime
79
+ pdf.text("Lime", :font_size => 24)
80
+ pdf.fill_color Color::Black
81
+ pdf.text("Lime", :font_size => 12, :justification => :center)
82
+
83
+ pdf.fill_color Color::SpringGreen
84
+ pdf.text("SpringGreen", :font_size => 24)
85
+ pdf.fill_color Color::Black
86
+ pdf.text("SpringGreen", :font_size => 12, :justification => :center)
87
+
88
+ pdf.fill_color Color::Aqua
89
+ pdf.text("Aqua", :font_size => 24)
90
+ pdf.fill_color Color::Black
91
+ pdf.text("Aqua", :font_size => 12, :justification => :center)
92
+
93
+ pdf.fill_color Color::Cyan
94
+ pdf.text("Cyan", :font_size => 24)
95
+ pdf.fill_color Color::Black
96
+ pdf.text("Cyan", :font_size => 12, :justification => :center)
97
+
98
+ pdf.fill_color Color::MidnightBlue
99
+ pdf.text("MidnightBlue", :font_size => 24)
100
+ pdf.fill_color Color::Black
101
+ pdf.text("MidnightBlue", :font_size => 12, :justification => :center)
102
+
103
+ pdf.fill_color Color::DodgerBlue
104
+ pdf.text("DodgerBlue", :font_size => 24)
105
+ pdf.fill_color Color::Black
106
+ pdf.text("DodgerBlue", :font_size => 12, :justification => :center)
107
+
108
+ pdf.fill_color Color::LightSeaGreen
109
+ pdf.text("LightSeaGreen", :font_size => 24)
110
+ pdf.fill_color Color::Black
111
+ pdf.text("LightSeaGreen", :font_size => 12, :justification => :center)
112
+
113
+ pdf.fill_color Color::ForestGreen
114
+ pdf.text("ForestGreen", :font_size => 24)
115
+ pdf.fill_color Color::Black
116
+ pdf.text("ForestGreen", :font_size => 12, :justification => :center)
117
+
118
+ pdf.fill_color Color::SeaGreen
119
+ pdf.text("SeaGreen", :font_size => 24)
120
+ pdf.fill_color Color::Black
121
+ pdf.text("SeaGreen", :font_size => 12, :justification => :center)
122
+
123
+ pdf.fill_color Color::DarkSlateGray
124
+ pdf.text("DarkSlateGray", :font_size => 24)
125
+ pdf.fill_color Color::Black
126
+ pdf.text("DarkSlateGray", :font_size => 12, :justification => :center)
127
+
128
+ pdf.fill_color Color::DarkSlateGrey
129
+ pdf.text("DarkSlateGrey", :font_size => 24)
130
+ pdf.fill_color Color::Black
131
+ pdf.text("DarkSlateGrey", :font_size => 12, :justification => :center)
132
+
133
+ pdf.fill_color Color::LimeGreen
134
+ pdf.text("LimeGreen", :font_size => 24)
135
+ pdf.fill_color Color::Black
136
+ pdf.text("LimeGreen", :font_size => 12, :justification => :center)
137
+
138
+ pdf.fill_color Color::MediumSeaGreen
139
+ pdf.text("MediumSeaGreen", :font_size => 24)
140
+ pdf.fill_color Color::Black
141
+ pdf.text("MediumSeaGreen", :font_size => 12, :justification => :center)
142
+
143
+ pdf.fill_color Color::Turquoise
144
+ pdf.text("Turquoise", :font_size => 24)
145
+ pdf.fill_color Color::Black
146
+ pdf.text("Turquoise", :font_size => 12, :justification => :center)
147
+
148
+ pdf.fill_color Color::RoyalBlue
149
+ pdf.text("RoyalBlue", :font_size => 24)
150
+ pdf.fill_color Color::Black
151
+ pdf.text("RoyalBlue", :font_size => 12, :justification => :center)
152
+
153
+ pdf.fill_color Color::SteelBlue
154
+ pdf.text("SteelBlue", :font_size => 24)
155
+ pdf.fill_color Color::Black
156
+ pdf.text("SteelBlue", :font_size => 12, :justification => :center)
157
+
158
+ pdf.fill_color Color::DarkSlateBlue
159
+ pdf.text("DarkSlateBlue", :font_size => 24)
160
+ pdf.fill_color Color::Black
161
+ pdf.text("DarkSlateBlue", :font_size => 12, :justification => :center)
162
+
163
+ pdf.fill_color Color::MediumTurquoise
164
+ pdf.text("MediumTurquoise", :font_size => 24)
165
+ pdf.fill_color Color::Black
166
+ pdf.text("MediumTurquoise", :font_size => 12, :justification => :center)
167
+
168
+ pdf.fill_color Color::Indigo
169
+ pdf.text("Indigo", :font_size => 24)
170
+ pdf.fill_color Color::Black
171
+ pdf.text("Indigo", :font_size => 12, :justification => :center)
172
+
173
+ pdf.fill_color Color::DarkoliveGreen
174
+ pdf.text("DarkoliveGreen", :font_size => 24)
175
+ pdf.fill_color Color::Black
176
+ pdf.text("DarkoliveGreen", :font_size => 12, :justification => :center)
177
+
178
+ pdf.fill_color Color::CadetBlue
179
+ pdf.text("CadetBlue", :font_size => 24)
180
+ pdf.fill_color Color::Black
181
+ pdf.text("CadetBlue", :font_size => 12, :justification => :center)
182
+
183
+ pdf.fill_color Color::CornflowerBlue
184
+ pdf.text("CornflowerBlue", :font_size => 24)
185
+ pdf.fill_color Color::Black
186
+ pdf.text("CornflowerBlue", :font_size => 12, :justification => :center)
187
+
188
+ pdf.fill_color Color::MediumAquamarine
189
+ pdf.text("MediumAquamarine", :font_size => 24)
190
+ pdf.fill_color Color::Black
191
+ pdf.text("MediumAquamarine", :font_size => 12, :justification => :center)
192
+
193
+ pdf.fill_color Color::DimGray
194
+ pdf.text("DimGray", :font_size => 24)
195
+ pdf.fill_color Color::Black
196
+ pdf.text("DimGray", :font_size => 12, :justification => :center)
197
+
198
+ pdf.fill_color Color::DimGrey
199
+ pdf.text("DimGrey", :font_size => 24)
200
+ pdf.fill_color Color::Black
201
+ pdf.text("DimGrey", :font_size => 12, :justification => :center)
202
+
203
+ pdf.fill_color Color::SlateBlue
204
+ pdf.text("SlateBlue", :font_size => 24)
205
+ pdf.fill_color Color::Black
206
+ pdf.text("SlateBlue", :font_size => 12, :justification => :center)
207
+
208
+ pdf.fill_color Color::Olivedrab
209
+ pdf.text("Olivedrab", :font_size => 24)
210
+ pdf.fill_color Color::Black
211
+ pdf.text("Olivedrab", :font_size => 12, :justification => :center)
212
+
213
+ pdf.fill_color Color::SlateGray
214
+ pdf.text("SlateGray", :font_size => 24)
215
+ pdf.fill_color Color::Black
216
+ pdf.text("SlateGray", :font_size => 12, :justification => :center)
217
+
218
+ pdf.fill_color Color::SlateGrey
219
+ pdf.text("SlateGrey", :font_size => 24)
220
+ pdf.fill_color Color::Black
221
+ pdf.text("SlateGrey", :font_size => 12, :justification => :center)
222
+
223
+ pdf.fill_color Color::LightSlateGray
224
+ pdf.text("LightSlateGray", :font_size => 24)
225
+ pdf.fill_color Color::Black
226
+ pdf.text("LightSlateGray", :font_size => 12, :justification => :center)
227
+
228
+ pdf.fill_color Color::LightSlateGrey
229
+ pdf.text("LightSlateGrey", :font_size => 24)
230
+ pdf.fill_color Color::Black
231
+ pdf.text("LightSlateGrey", :font_size => 12, :justification => :center)
232
+
233
+ pdf.fill_color Color::MediumSlateBlue
234
+ pdf.text("MediumSlateBlue", :font_size => 24)
235
+ pdf.fill_color Color::Black
236
+ pdf.text("MediumSlateBlue", :font_size => 12, :justification => :center)
237
+
238
+ pdf.fill_color Color::LawnGreen
239
+ pdf.text("LawnGreen", :font_size => 24)
240
+ pdf.fill_color Color::Black
241
+ pdf.text("LawnGreen", :font_size => 12, :justification => :center)
242
+
243
+ pdf.fill_color Color::Chartreuse
244
+ pdf.text("Chartreuse", :font_size => 24)
245
+ pdf.fill_color Color::Black
246
+ pdf.text("Chartreuse", :font_size => 12, :justification => :center)
247
+
248
+ pdf.fill_color Color::Aquamarine
249
+ pdf.text("Aquamarine", :font_size => 24)
250
+ pdf.fill_color Color::Black
251
+ pdf.text("Aquamarine", :font_size => 12, :justification => :center)
252
+
253
+ pdf.fill_color Color::Maroon
254
+ pdf.text("Maroon", :font_size => 24)
255
+ pdf.fill_color Color::Black
256
+ pdf.text("Maroon", :font_size => 12, :justification => :center)
257
+
258
+ pdf.fill_color Color::Purple
259
+ pdf.text("Purple", :font_size => 24)
260
+ pdf.fill_color Color::Black
261
+ pdf.text("Purple", :font_size => 12, :justification => :center)
262
+
263
+ pdf.fill_color Color::Olive
264
+ pdf.text("Olive", :font_size => 24)
265
+ pdf.fill_color Color::Black
266
+ pdf.text("Olive", :font_size => 12, :justification => :center)
267
+
268
+ pdf.fill_color Color::Gray
269
+ pdf.text("Gray", :font_size => 24)
270
+ pdf.fill_color Color::Black
271
+ pdf.text("Gray", :font_size => 12, :justification => :center)
272
+
273
+ pdf.fill_color Color::Grey
274
+ pdf.text("Grey", :font_size => 24)
275
+ pdf.fill_color Color::Black
276
+ pdf.text("Grey", :font_size => 12, :justification => :center)
277
+
278
+ pdf.fill_color Color::SkyBlue
279
+ pdf.text("SkyBlue", :font_size => 24)
280
+ pdf.fill_color Color::Black
281
+ pdf.text("SkyBlue", :font_size => 12, :justification => :center)
282
+
283
+ pdf.fill_color Color::LightSkyBlue
284
+ pdf.text("LightSkyBlue", :font_size => 24)
285
+ pdf.fill_color Color::Black
286
+ pdf.text("LightSkyBlue", :font_size => 12, :justification => :center)
287
+
288
+ pdf.fill_color Color::BlueViolet
289
+ pdf.text("BlueViolet", :font_size => 24)
290
+ pdf.fill_color Color::Black
291
+ pdf.text("BlueViolet", :font_size => 12, :justification => :center)
292
+
293
+ pdf.fill_color Color::DarkRed
294
+ pdf.text("DarkRed", :font_size => 24)
295
+ pdf.fill_color Color::Black
296
+ pdf.text("DarkRed", :font_size => 12, :justification => :center)
297
+
298
+ pdf.fill_color Color::DarkMagenta
299
+ pdf.text("DarkMagenta", :font_size => 24)
300
+ pdf.fill_color Color::Black
301
+ pdf.text("DarkMagenta", :font_size => 12, :justification => :center)
302
+
303
+ pdf.fill_color Color::SaddleBrown
304
+ pdf.text("SaddleBrown", :font_size => 24)
305
+ pdf.fill_color Color::Black
306
+ pdf.text("SaddleBrown", :font_size => 12, :justification => :center)
307
+
308
+ pdf.fill_color Color::DarkSeaGreen
309
+ pdf.text("DarkSeaGreen", :font_size => 24)
310
+ pdf.fill_color Color::Black
311
+ pdf.text("DarkSeaGreen", :font_size => 12, :justification => :center)
312
+
313
+ pdf.fill_color Color::LightGreen
314
+ pdf.text("LightGreen", :font_size => 24)
315
+ pdf.fill_color Color::Black
316
+ pdf.text("LightGreen", :font_size => 12, :justification => :center)
317
+
318
+ pdf.fill_color Color::MediumPurple
319
+ pdf.text("MediumPurple", :font_size => 24)
320
+ pdf.fill_color Color::Black
321
+ pdf.text("MediumPurple", :font_size => 12, :justification => :center)
322
+
323
+ pdf.fill_color Color::DarkViolet
324
+ pdf.text("DarkViolet", :font_size => 24)
325
+ pdf.fill_color Color::Black
326
+ pdf.text("DarkViolet", :font_size => 12, :justification => :center)
327
+
328
+ pdf.fill_color Color::PaleGreen
329
+ pdf.text("PaleGreen", :font_size => 24)
330
+ pdf.fill_color Color::Black
331
+ pdf.text("PaleGreen", :font_size => 12, :justification => :center)
332
+
333
+ pdf.fill_color Color::DarkOrchid
334
+ pdf.text("DarkOrchid", :font_size => 24)
335
+ pdf.fill_color Color::Black
336
+ pdf.text("DarkOrchid", :font_size => 12, :justification => :center)
337
+
338
+ pdf.fill_color Color::YellowGreen
339
+ pdf.text("YellowGreen", :font_size => 24)
340
+ pdf.fill_color Color::Black
341
+ pdf.text("YellowGreen", :font_size => 12, :justification => :center)
342
+
343
+ pdf.fill_color Color::Sienna
344
+ pdf.text("Sienna", :font_size => 24)
345
+ pdf.fill_color Color::Black
346
+ pdf.text("Sienna", :font_size => 12, :justification => :center)
347
+
348
+ pdf.fill_color Color::Brown
349
+ pdf.text("Brown", :font_size => 24)
350
+ pdf.fill_color Color::Black
351
+ pdf.text("Brown", :font_size => 12, :justification => :center)
352
+
353
+ pdf.fill_color Color::DarkGray
354
+ pdf.text("DarkGray", :font_size => 24)
355
+ pdf.fill_color Color::Black
356
+ pdf.text("DarkGray", :font_size => 12, :justification => :center)
357
+
358
+ pdf.fill_color Color::DarkGrey
359
+ pdf.text("DarkGrey", :font_size => 24)
360
+ pdf.fill_color Color::Black
361
+ pdf.text("DarkGrey", :font_size => 12, :justification => :center)
362
+
363
+ pdf.fill_color Color::LightBlue
364
+ pdf.text("LightBlue", :font_size => 24)
365
+ pdf.fill_color Color::Black
366
+ pdf.text("LightBlue", :font_size => 12, :justification => :center)
367
+
368
+ pdf.fill_color Color::GreenYellow
369
+ pdf.text("GreenYellow", :font_size => 24)
370
+ pdf.fill_color Color::Black
371
+ pdf.text("GreenYellow", :font_size => 12, :justification => :center)
372
+
373
+ pdf.fill_color Color::PaleTurquoise
374
+ pdf.text("PaleTurquoise", :font_size => 24)
375
+ pdf.fill_color Color::Black
376
+ pdf.text("PaleTurquoise", :font_size => 12, :justification => :center)
377
+
378
+ pdf.fill_color Color::LightsteelBlue
379
+ pdf.text("LightsteelBlue", :font_size => 24)
380
+ pdf.fill_color Color::Black
381
+ pdf.text("LightsteelBlue", :font_size => 12, :justification => :center)
382
+
383
+ pdf.fill_color Color::PowderBlue
384
+ pdf.text("PowderBlue", :font_size => 24)
385
+ pdf.fill_color Color::Black
386
+ pdf.text("PowderBlue", :font_size => 12, :justification => :center)
387
+
388
+ pdf.fill_color Color::Firebrick
389
+ pdf.text("Firebrick", :font_size => 24)
390
+ pdf.fill_color Color::Black
391
+ pdf.text("Firebrick", :font_size => 12, :justification => :center)
392
+
393
+ pdf.fill_color Color::DarkGoldenrod
394
+ pdf.text("DarkGoldenrod", :font_size => 24)
395
+ pdf.fill_color Color::Black
396
+ pdf.text("DarkGoldenrod", :font_size => 12, :justification => :center)
397
+
398
+ pdf.fill_color Color::MediumOrchid
399
+ pdf.text("MediumOrchid", :font_size => 24)
400
+ pdf.fill_color Color::Black
401
+ pdf.text("MediumOrchid", :font_size => 12, :justification => :center)
402
+
403
+ pdf.fill_color Color::RosyBrown
404
+ pdf.text("RosyBrown", :font_size => 24)
405
+ pdf.fill_color Color::Black
406
+ pdf.text("RosyBrown", :font_size => 12, :justification => :center)
407
+
408
+ pdf.fill_color Color::DarkKhaki
409
+ pdf.text("DarkKhaki", :font_size => 24)
410
+ pdf.fill_color Color::Black
411
+ pdf.text("DarkKhaki", :font_size => 12, :justification => :center)
412
+
413
+ pdf.fill_color Color::Silver
414
+ pdf.text("Silver", :font_size => 24)
415
+ pdf.fill_color Color::Black
416
+ pdf.text("Silver", :font_size => 12, :justification => :center)
417
+
418
+ pdf.fill_color Color::MediumVioletRed
419
+ pdf.text("MediumVioletRed", :font_size => 24)
420
+ pdf.fill_color Color::Black
421
+ pdf.text("MediumVioletRed", :font_size => 12, :justification => :center)
422
+
423
+ pdf.fill_color Color::IndianRed
424
+ pdf.text("IndianRed", :font_size => 24)
425
+ pdf.fill_color Color::Black
426
+ pdf.text("IndianRed", :font_size => 12, :justification => :center)
427
+
428
+ pdf.fill_color Color::Peru
429
+ pdf.text("Peru", :font_size => 24)
430
+ pdf.fill_color Color::Black
431
+ pdf.text("Peru", :font_size => 12, :justification => :center)
432
+
433
+ pdf.fill_color Color::Chocolate
434
+ pdf.text("Chocolate", :font_size => 24)
435
+ pdf.fill_color Color::Black
436
+ pdf.text("Chocolate", :font_size => 12, :justification => :center)
437
+
438
+ pdf.fill_color Color::Tan
439
+ pdf.text("Tan", :font_size => 24)
440
+ pdf.fill_color Color::Black
441
+ pdf.text("Tan", :font_size => 12, :justification => :center)
442
+
443
+ pdf.fill_color Color::LightGray
444
+ pdf.text("LightGray", :font_size => 24)
445
+ pdf.fill_color Color::Black
446
+ pdf.text("LightGray", :font_size => 12, :justification => :center)
447
+
448
+ pdf.fill_color Color::LightGrey
449
+ pdf.text("LightGrey", :font_size => 24)
450
+ pdf.fill_color Color::Black
451
+ pdf.text("LightGrey", :font_size => 12, :justification => :center)
452
+
453
+ pdf.fill_color Color::Thistle
454
+ pdf.text("Thistle", :font_size => 24)
455
+ pdf.fill_color Color::Black
456
+ pdf.text("Thistle", :font_size => 12, :justification => :center)
457
+
458
+ pdf.fill_color Color::Orchid
459
+ pdf.text("Orchid", :font_size => 24)
460
+ pdf.fill_color Color::Black
461
+ pdf.text("Orchid", :font_size => 12, :justification => :center)
462
+
463
+ pdf.fill_color Color::Goldenrod
464
+ pdf.text("Goldenrod", :font_size => 24)
465
+ pdf.fill_color Color::Black
466
+ pdf.text("Goldenrod", :font_size => 12, :justification => :center)
467
+
468
+ pdf.fill_color Color::PaleVioletRed
469
+ pdf.text("PaleVioletRed", :font_size => 24)
470
+ pdf.fill_color Color::Black
471
+ pdf.text("PaleVioletRed", :font_size => 12, :justification => :center)
472
+
473
+ pdf.fill_color Color::Crimson
474
+ pdf.text("Crimson", :font_size => 24)
475
+ pdf.fill_color Color::Black
476
+ pdf.text("Crimson", :font_size => 12, :justification => :center)
477
+
478
+ pdf.fill_color Color::Gainsboro
479
+ pdf.text("Gainsboro", :font_size => 24)
480
+ pdf.fill_color Color::Black
481
+ pdf.text("Gainsboro", :font_size => 12, :justification => :center)
482
+
483
+ pdf.fill_color Color::Plum
484
+ pdf.text("Plum", :font_size => 24)
485
+ pdf.fill_color Color::Black
486
+ pdf.text("Plum", :font_size => 12, :justification => :center)
487
+
488
+ pdf.fill_color Color::Burlywood
489
+ pdf.text("Burlywood", :font_size => 24)
490
+ pdf.fill_color Color::Black
491
+ pdf.text("Burlywood", :font_size => 12, :justification => :center)
492
+
493
+ pdf.fill_color Color::LightCyan
494
+ pdf.text("LightCyan", :font_size => 24)
495
+ pdf.fill_color Color::Black
496
+ pdf.text("LightCyan", :font_size => 12, :justification => :center)
497
+
498
+ pdf.fill_color Color::Lavender
499
+ pdf.text("Lavender", :font_size => 24)
500
+ pdf.fill_color Color::Black
501
+ pdf.text("Lavender", :font_size => 12, :justification => :center)
502
+
503
+ pdf.fill_color Color::Darksalmon
504
+ pdf.text("Darksalmon", :font_size => 24)
505
+ pdf.fill_color Color::Black
506
+ pdf.text("Darksalmon", :font_size => 12, :justification => :center)
507
+
508
+ pdf.fill_color Color::Violet
509
+ pdf.text("Violet", :font_size => 24)
510
+ pdf.fill_color Color::Black
511
+ pdf.text("Violet", :font_size => 12, :justification => :center)
512
+
513
+ pdf.fill_color Color::PaleGoldenrod
514
+ pdf.text("PaleGoldenrod", :font_size => 24)
515
+ pdf.fill_color Color::Black
516
+ pdf.text("PaleGoldenrod", :font_size => 12, :justification => :center)
517
+
518
+ pdf.fill_color Color::LightCoral
519
+ pdf.text("LightCoral", :font_size => 24)
520
+ pdf.fill_color Color::Black
521
+ pdf.text("LightCoral", :font_size => 12, :justification => :center)
522
+
523
+ pdf.fill_color Color::Khaki
524
+ pdf.text("Khaki", :font_size => 24)
525
+ pdf.fill_color Color::Black
526
+ pdf.text("Khaki", :font_size => 12, :justification => :center)
527
+
528
+ pdf.fill_color Color::AliceBlue
529
+ pdf.text("AliceBlue", :font_size => 24)
530
+ pdf.fill_color Color::Black
531
+ pdf.text("AliceBlue", :font_size => 12, :justification => :center)
532
+
533
+ pdf.fill_color Color::Honeydew
534
+ pdf.text("Honeydew", :font_size => 24)
535
+ pdf.fill_color Color::Black
536
+ pdf.text("Honeydew", :font_size => 12, :justification => :center)
537
+
538
+ pdf.fill_color Color::Azure
539
+ pdf.text("Azure", :font_size => 24)
540
+ pdf.fill_color Color::Black
541
+ pdf.text("Azure", :font_size => 12, :justification => :center)
542
+
543
+ pdf.fill_color Color::SandyBrown
544
+ pdf.text("SandyBrown", :font_size => 24)
545
+ pdf.fill_color Color::Black
546
+ pdf.text("SandyBrown", :font_size => 12, :justification => :center)
547
+
548
+ pdf.fill_color Color::Wheat
549
+ pdf.text("Wheat", :font_size => 24)
550
+ pdf.fill_color Color::Black
551
+ pdf.text("Wheat", :font_size => 12, :justification => :center)
552
+
553
+ pdf.fill_color Color::Beige
554
+ pdf.text("Beige", :font_size => 24)
555
+ pdf.fill_color Color::Black
556
+ pdf.text("Beige", :font_size => 12, :justification => :center)
557
+
558
+ pdf.fill_color Color::WhiteSmoke
559
+ pdf.text("WhiteSmoke", :font_size => 24)
560
+ pdf.fill_color Color::Black
561
+ pdf.text("WhiteSmoke", :font_size => 12, :justification => :center)
562
+
563
+ pdf.fill_color Color::MintCream
564
+ pdf.text("MintCream", :font_size => 24)
565
+ pdf.fill_color Color::Black
566
+ pdf.text("MintCream", :font_size => 12, :justification => :center)
567
+
568
+ pdf.fill_color Color::GhostWhite
569
+ pdf.text("GhostWhite", :font_size => 24)
570
+ pdf.fill_color Color::Black
571
+ pdf.text("GhostWhite", :font_size => 12, :justification => :center)
572
+
573
+ pdf.fill_color Color::Salmon
574
+ pdf.text("Salmon", :font_size => 24)
575
+ pdf.fill_color Color::Black
576
+ pdf.text("Salmon", :font_size => 12, :justification => :center)
577
+
578
+ pdf.fill_color Color::AntiqueWhite
579
+ pdf.text("AntiqueWhite", :font_size => 24)
580
+ pdf.fill_color Color::Black
581
+ pdf.text("AntiqueWhite", :font_size => 12, :justification => :center)
582
+
583
+ pdf.fill_color Color::Linen
584
+ pdf.text("Linen", :font_size => 24)
585
+ pdf.fill_color Color::Black
586
+ pdf.text("Linen", :font_size => 12, :justification => :center)
587
+
588
+ pdf.fill_color Color::LightGoldenrodYellow
589
+ pdf.text("LightGoldenrodYellow", :font_size => 24)
590
+ pdf.fill_color Color::Black
591
+ pdf.text("LightGoldenrodYellow", :font_size => 12, :justification => :center)
592
+
593
+ pdf.fill_color Color::OldLace
594
+ pdf.text("OldLace", :font_size => 24)
595
+ pdf.fill_color Color::Black
596
+ pdf.text("OldLace", :font_size => 12, :justification => :center)
597
+
598
+ pdf.fill_color Color::Red
599
+ pdf.text("Red", :font_size => 24)
600
+ pdf.fill_color Color::Black
601
+ pdf.text("Red", :font_size => 12, :justification => :center)
602
+
603
+ pdf.fill_color Color::Fuchsia
604
+ pdf.text("Fuchsia", :font_size => 24)
605
+ pdf.fill_color Color::Black
606
+ pdf.text("Fuchsia", :font_size => 12, :justification => :center)
607
+
608
+ pdf.fill_color Color::Magenta
609
+ pdf.text("Magenta", :font_size => 24)
610
+ pdf.fill_color Color::Black
611
+ pdf.text("Magenta", :font_size => 12, :justification => :center)
612
+
613
+ pdf.fill_color Color::DeepPink
614
+ pdf.text("DeepPink", :font_size => 24)
615
+ pdf.fill_color Color::Black
616
+ pdf.text("DeepPink", :font_size => 12, :justification => :center)
617
+
618
+ pdf.fill_color Color::OrangeRed
619
+ pdf.text("OrangeRed", :font_size => 24)
620
+ pdf.fill_color Color::Black
621
+ pdf.text("OrangeRed", :font_size => 12, :justification => :center)
622
+
623
+ pdf.fill_color Color::Tomato
624
+ pdf.text("Tomato", :font_size => 24)
625
+ pdf.fill_color Color::Black
626
+ pdf.text("Tomato", :font_size => 12, :justification => :center)
627
+
628
+ pdf.fill_color Color::HotPink
629
+ pdf.text("HotPink", :font_size => 24)
630
+ pdf.fill_color Color::Black
631
+ pdf.text("HotPink", :font_size => 12, :justification => :center)
632
+
633
+ pdf.fill_color Color::Coral
634
+ pdf.text("Coral", :font_size => 24)
635
+ pdf.fill_color Color::Black
636
+ pdf.text("Coral", :font_size => 12, :justification => :center)
637
+
638
+ pdf.fill_color Color::Darkorange
639
+ pdf.text("Darkorange", :font_size => 24)
640
+ pdf.fill_color Color::Black
641
+ pdf.text("Darkorange", :font_size => 12, :justification => :center)
642
+
643
+ pdf.fill_color Color::Lightsalmon
644
+ pdf.text("Lightsalmon", :font_size => 24)
645
+ pdf.fill_color Color::Black
646
+ pdf.text("Lightsalmon", :font_size => 12, :justification => :center)
647
+
648
+ pdf.fill_color Color::Orange
649
+ pdf.text("Orange", :font_size => 24)
650
+ pdf.fill_color Color::Black
651
+ pdf.text("Orange", :font_size => 12, :justification => :center)
652
+
653
+ pdf.fill_color Color::LightPink
654
+ pdf.text("LightPink", :font_size => 24)
655
+ pdf.fill_color Color::Black
656
+ pdf.text("LightPink", :font_size => 12, :justification => :center)
657
+
658
+ pdf.fill_color Color::Pink
659
+ pdf.text("Pink", :font_size => 24)
660
+ pdf.fill_color Color::Black
661
+ pdf.text("Pink", :font_size => 12, :justification => :center)
662
+
663
+ pdf.fill_color Color::Gold
664
+ pdf.text("Gold", :font_size => 24)
665
+ pdf.fill_color Color::Black
666
+ pdf.text("Gold", :font_size => 12, :justification => :center)
667
+
668
+ pdf.fill_color Color::Peachpuff
669
+ pdf.text("Peachpuff", :font_size => 24)
670
+ pdf.fill_color Color::Black
671
+ pdf.text("Peachpuff", :font_size => 12, :justification => :center)
672
+
673
+ pdf.fill_color Color::NavajoWhite
674
+ pdf.text("NavajoWhite", :font_size => 24)
675
+ pdf.fill_color Color::Black
676
+ pdf.text("NavajoWhite", :font_size => 12, :justification => :center)
677
+
678
+ pdf.fill_color Color::Moccasin
679
+ pdf.text("Moccasin", :font_size => 24)
680
+ pdf.fill_color Color::Black
681
+ pdf.text("Moccasin", :font_size => 12, :justification => :center)
682
+
683
+ pdf.fill_color Color::Bisque
684
+ pdf.text("Bisque", :font_size => 24)
685
+ pdf.fill_color Color::Black
686
+ pdf.text("Bisque", :font_size => 12, :justification => :center)
687
+
688
+ pdf.fill_color Color::MistyRose
689
+ pdf.text("MistyRose", :font_size => 24)
690
+ pdf.fill_color Color::Black
691
+ pdf.text("MistyRose", :font_size => 12, :justification => :center)
692
+
693
+ pdf.fill_color Color::BlanchedAlmond
694
+ pdf.text("BlanchedAlmond", :font_size => 24)
695
+ pdf.fill_color Color::Black
696
+ pdf.text("BlanchedAlmond", :font_size => 12, :justification => :center)
697
+
698
+ pdf.fill_color Color::PapayaWhip
699
+ pdf.text("PapayaWhip", :font_size => 24)
700
+ pdf.fill_color Color::Black
701
+ pdf.text("PapayaWhip", :font_size => 12, :justification => :center)
702
+
703
+ pdf.fill_color Color::LavenderBlush
704
+ pdf.text("LavenderBlush", :font_size => 24)
705
+ pdf.fill_color Color::Black
706
+ pdf.text("LavenderBlush", :font_size => 12, :justification => :center)
707
+
708
+ pdf.fill_color Color::Seashell
709
+ pdf.text("Seashell", :font_size => 24)
710
+ pdf.fill_color Color::Black
711
+ pdf.text("Seashell", :font_size => 12, :justification => :center)
712
+
713
+ pdf.fill_color Color::Cornsilk
714
+ pdf.text("Cornsilk", :font_size => 24)
715
+ pdf.fill_color Color::Black
716
+ pdf.text("Cornsilk", :font_size => 12, :justification => :center)
717
+
718
+ pdf.fill_color Color::LemonChiffon
719
+ pdf.text("LemonChiffon", :font_size => 24)
720
+ pdf.fill_color Color::Black
721
+ pdf.text("LemonChiffon", :font_size => 12, :justification => :center)
722
+
723
+ pdf.fill_color Color::FloralWhite
724
+ pdf.text("FloralWhite", :font_size => 24)
725
+ pdf.fill_color Color::Black
726
+ pdf.text("FloralWhite", :font_size => 12, :justification => :center)
727
+
728
+ pdf.fill_color Color::Snow
729
+ pdf.text("Snow", :font_size => 24)
730
+ pdf.fill_color Color::Black
731
+ pdf.text("Snow", :font_size => 12, :justification => :center)
732
+
733
+ pdf.fill_color Color::Yellow
734
+ pdf.text("Yellow", :font_size => 24)
735
+ pdf.fill_color Color::Black
736
+ pdf.text("Yellow", :font_size => 12, :justification => :center)
737
+
738
+ pdf.fill_color Color::LightYellow
739
+ pdf.text("LightYellow", :font_size => 24)
740
+ pdf.fill_color Color::Black
741
+ pdf.text("LightYellow", :font_size => 12, :justification => :center)
742
+
743
+ pdf.fill_color Color::Ivory
744
+ pdf.text("Ivory", :font_size => 24)
745
+ pdf.fill_color Color::Black
746
+ pdf.text("Ivory", :font_size => 12, :justification => :center)
747
+
748
+ pdf.fill_color Color::White
749
+ pdf.text("White", :font_size => 24)
750
+ pdf.fill_color Color::Black
751
+ pdf.text("White", :font_size => 12, :justification => :center)
752
+
753
+ pdf.fill_color Color::Gray10
754
+ pdf.text("Gray10", :font_size => 24)
755
+ pdf.fill_color Color::Black
756
+ pdf.text("Gray10", :font_size => 12, :justification => :center)
757
+
758
+ pdf.fill_color Color::Grey10
759
+ pdf.text("Grey10", :font_size => 24)
760
+ pdf.fill_color Color::Black
761
+ pdf.text("Grey10", :font_size => 12, :justification => :center)
762
+
763
+ pdf.fill_color Color::Gray20
764
+ pdf.text("Gray20", :font_size => 24)
765
+ pdf.fill_color Color::Black
766
+ pdf.text("Gray20", :font_size => 12, :justification => :center)
767
+
768
+ pdf.fill_color Color::Grey20
769
+ pdf.text("Grey20", :font_size => 24)
770
+ pdf.fill_color Color::Black
771
+ pdf.text("Grey20", :font_size => 12, :justification => :center)
772
+
773
+ pdf.fill_color Color::Gray30
774
+ pdf.text("Gray30", :font_size => 24)
775
+ pdf.fill_color Color::Black
776
+ pdf.text("Gray30", :font_size => 12, :justification => :center)
777
+
778
+ pdf.fill_color Color::Grey30
779
+ pdf.text("Grey30", :font_size => 24)
780
+ pdf.fill_color Color::Black
781
+ pdf.text("Grey30", :font_size => 12, :justification => :center)
782
+
783
+ pdf.fill_color Color::Gray40
784
+ pdf.text("Gray40", :font_size => 24)
785
+ pdf.fill_color Color::Black
786
+ pdf.text("Gray40", :font_size => 12, :justification => :center)
787
+
788
+ pdf.fill_color Color::Grey40
789
+ pdf.text("Grey40", :font_size => 24)
790
+ pdf.fill_color Color::Black
791
+ pdf.text("Grey40", :font_size => 12, :justification => :center)
792
+
793
+ pdf.fill_color Color::Gray50
794
+ pdf.text("Gray50", :font_size => 24)
795
+ pdf.fill_color Color::Black
796
+ pdf.text("Gray50", :font_size => 12, :justification => :center)
797
+
798
+ pdf.fill_color Color::Grey50
799
+ pdf.text("Grey50", :font_size => 24)
800
+ pdf.fill_color Color::Black
801
+ pdf.text("Grey50", :font_size => 12, :justification => :center)
802
+
803
+ pdf.fill_color Color::Gray60
804
+ pdf.text("Gray60", :font_size => 24)
805
+ pdf.fill_color Color::Black
806
+ pdf.text("Gray60", :font_size => 12, :justification => :center)
807
+
808
+ pdf.fill_color Color::Grey60
809
+ pdf.text("Grey60", :font_size => 24)
810
+ pdf.fill_color Color::Black
811
+ pdf.text("Grey60", :font_size => 12, :justification => :center)
812
+
813
+ pdf.fill_color Color::Gray70
814
+ pdf.text("Gray70", :font_size => 24)
815
+ pdf.fill_color Color::Black
816
+ pdf.text("Gray70", :font_size => 12, :justification => :center)
817
+
818
+ pdf.fill_color Color::Grey70
819
+ pdf.text("Grey70", :font_size => 24)
820
+ pdf.fill_color Color::Black
821
+ pdf.text("Grey70", :font_size => 12, :justification => :center)
822
+
823
+ pdf.fill_color Color::Gray80
824
+ pdf.text("Gray80", :font_size => 24)
825
+ pdf.fill_color Color::Black
826
+ pdf.text("Gray80", :font_size => 12, :justification => :center)
827
+
828
+ pdf.fill_color Color::Grey80
829
+ pdf.text("Grey80", :font_size => 24)
830
+ pdf.fill_color Color::Black
831
+ pdf.text("Grey80", :font_size => 12, :justification => :center)
832
+
833
+ pdf.fill_color Color::Gray90
834
+ pdf.text("Gray90", :font_size => 24)
835
+ pdf.fill_color Color::Black
836
+ pdf.text("Gray90", :font_size => 12, :justification => :center)
837
+
838
+ pdf.fill_color Color::Grey90
839
+ pdf.text("Grey90", :font_size => 24)
840
+ pdf.fill_color Color::Black
841
+ pdf.text("Grey90", :font_size => 12, :justification => :center)
842
+
843
+ pdf.save_as "colornames.pdf"