pdf-writer 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +7 -1
- data/demo/chunkybacon.rb +2 -2
- data/lib/pdf/charts/stddev.rb +2 -2
- data/lib/pdf/quickref.rb +2 -2
- data/lib/pdf/simpletable.rb +2 -2
- data/lib/pdf/techbook.rb +3 -3
- data/lib/pdf/writer.rb +2 -2
- data/manual.pwd +7 -1
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
= PDF::Writer Change Log
|
2
2
|
|
3
|
+
== PDF::Writer 1.1.1: July 1, 2005
|
4
|
+
* Fixed the packaging process; the .tar.gz files will no longer corrupt the
|
5
|
+
images.
|
6
|
+
* Added the images and the manual (both raw and generated) to the demo
|
7
|
+
package.
|
8
|
+
|
3
9
|
== PDF::Writer 1.1.0: June 29, 2005
|
4
10
|
NOTE: The first two changes are INCOMPATIBLE with previous versions of
|
5
11
|
PDF::Writer. If you find that your text is showing up at odd angles, negate
|
@@ -73,6 +79,6 @@
|
|
73
79
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
74
80
|
# for full licensing information.
|
75
81
|
#
|
76
|
-
# $Id: ChangeLog,v 1.
|
82
|
+
# $Id: ChangeLog,v 1.17 2005/07/01 16:48:26 austin Exp $
|
77
83
|
#++
|
78
84
|
# vim: sts=2 sw=2 ts=4 et ai tw=77
|
data/demo/chunkybacon.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
# and are from "Why's (Poignant) Guide to Ruby" at
|
11
11
|
# <http://poignantguide.net/ruby> with permission.
|
12
12
|
#
|
13
|
-
# $Id: chunkybacon.rb,v 1.
|
13
|
+
# $Id: chunkybacon.rb,v 1.7 2005/07/01 16:48:26 austin Exp $
|
14
14
|
#++
|
15
15
|
begin
|
16
16
|
require 'pdf/writer'
|
@@ -33,4 +33,4 @@ pdf.image i0, :justification => :right, :resize => 0.75
|
|
33
33
|
|
34
34
|
pdf.text "Chunky Bacon!!", :font_size => 72, :justification => :center
|
35
35
|
|
36
|
-
pdf.save_as("
|
36
|
+
pdf.save_as("chunkybacon.pdf")
|
data/lib/pdf/charts/stddev.rb
CHANGED
@@ -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: stddev.rb,v 1.
|
9
|
+
# $Id: stddev.rb,v 1.9 2005/07/01 16:48:26 austin Exp $
|
10
10
|
#++
|
11
11
|
require 'pdf/writer'
|
12
12
|
require 'pdf/charts'
|
@@ -20,7 +20,7 @@ require 'ostruct'
|
|
20
20
|
# The scale of responses is the vertical scale; the average data points
|
21
21
|
# and standard deviation values are the horizontal scale.
|
22
22
|
class PDF::Charts::StdDev
|
23
|
-
VERSION = '1.1.
|
23
|
+
VERSION = '1.1.1'
|
24
24
|
|
25
25
|
# A data element.
|
26
26
|
DataPoint = Struct.new(:label, :average, :stddev)
|
data/lib/pdf/quickref.rb
CHANGED
@@ -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: quickref.rb,v 1.
|
9
|
+
# $Id: quickref.rb,v 1.10 2005/07/01 16:48:26 austin Exp $
|
10
10
|
#++
|
11
11
|
require 'pdf/simpletable'
|
12
12
|
|
@@ -51,7 +51,7 @@ require 'pdf/simpletable'
|
|
51
51
|
# qr.lines "Text to put after the header."
|
52
52
|
# qr.save_as "MyQuickRef.pdf"
|
53
53
|
class PDF::QuickRef
|
54
|
-
VERSION = '1.1.
|
54
|
+
VERSION = '1.1.1'
|
55
55
|
|
56
56
|
# Create the quick reference document. +paper+ is passed unchanged to
|
57
57
|
# the PDF::Writer.new; the page is always created landscape. Margins
|
data/lib/pdf/simpletable.rb
CHANGED
@@ -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: simpletable.rb,v 1.
|
9
|
+
# $Id: simpletable.rb,v 1.13 2005/07/01 16:48:26 austin Exp $
|
10
10
|
#++
|
11
11
|
require 'pdf/writer'
|
12
12
|
require 'transaction/simple/group'
|
@@ -14,7 +14,7 @@ require 'transaction/simple/group'
|
|
14
14
|
# This class will create tables with a relatively simple API and internal
|
15
15
|
# implementation.
|
16
16
|
class PDF::SimpleTable
|
17
|
-
VERSION = '1.1.
|
17
|
+
VERSION = '1.1.1'
|
18
18
|
|
19
19
|
include Transaction::Simple
|
20
20
|
|
data/lib/pdf/techbook.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
8
8
|
# for full licensing information.
|
9
9
|
#
|
10
|
-
# $Id: techbook.rb,v 1.
|
10
|
+
# $Id: techbook.rb,v 1.17 2005/07/01 16:48:26 austin Exp $
|
11
11
|
#++
|
12
12
|
require 'pdf/simpletable'
|
13
13
|
require 'pdf/charts/stddev'
|
@@ -796,7 +796,7 @@ class PDF::TechBook < PDF::Writer
|
|
796
796
|
config.cache = true
|
797
797
|
config.compressed = false
|
798
798
|
|
799
|
-
|
799
|
+
opts = OptionParser.new do |opt|
|
800
800
|
opt.banner = PDF::Writer::Lang[:techbook_usage_banner] % [ File.basename($0) ]
|
801
801
|
PDF::Writer::Lang[:techbook_usage_banner_1].each do |ll|
|
802
802
|
opt.separator " #{ll}"
|
@@ -806,8 +806,8 @@ class PDF::TechBook < PDF::Writer
|
|
806
806
|
opt.on('-z', '--compress', *PDF::Writer::Lang[:techbook_help_compress]) { config.compressed = true }
|
807
807
|
opt.on_tail ""
|
808
808
|
opt.on_tail("--help", *PDF::Writer::Lang[:techbook_help_help]) { $stderr << opt; exit(0) }
|
809
|
-
opt.parse!
|
810
809
|
end
|
810
|
+
opts.parse!(args)
|
811
811
|
|
812
812
|
config.document = args[0]
|
813
813
|
|
data/lib/pdf/writer.rb
CHANGED
@@ -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: writer.rb,v 1.
|
9
|
+
# $Id: writer.rb,v 1.38 2005/07/01 16:48:26 austin Exp $
|
10
10
|
#++
|
11
11
|
require 'thread'
|
12
12
|
require 'open-uri'
|
@@ -19,7 +19,7 @@ require 'color'
|
|
19
19
|
module PDF
|
20
20
|
class Writer
|
21
21
|
# The version of PDF::Writer.
|
22
|
-
VERSION = '1.1.
|
22
|
+
VERSION = '1.1.1'
|
23
23
|
|
24
24
|
# Escape the text so that it's safe for insertion into the PDF
|
25
25
|
# document.
|
data/manual.pwd
CHANGED
@@ -5391,6 +5391,12 @@ Unicode support
|
|
5391
5391
|
.newpage
|
5392
5392
|
1<Revision History>
|
5393
5393
|
|
5394
|
+
2<Version 1.1.1: July 1, 2005>
|
5395
|
+
.blist {{{
|
5396
|
+
Fixed the packaging process; the .tar.gz files will no longer corrupt the images.
|
5397
|
+
Added the images and the manual (both raw and generated) to the demo package.
|
5398
|
+
.endblist }}}
|
5399
|
+
|
5394
5400
|
2<Version 1.1.0: June 29, 2005>
|
5395
5401
|
<b>NOTE</b>: The first two changes are <em>incompatible</em> with previous
|
5396
5402
|
versions of PDF::Writer. A 90� angle in the PDF::Writer 1.0.x must be
|
@@ -5596,6 +5602,6 @@ pdf.stop_page_numbering(true, :current)
|
|
5596
5602
|
# Licensed under a MIT-style licence. See LICENCE in the main distribution
|
5597
5603
|
# for full licensing information.
|
5598
5604
|
#
|
5599
|
-
# $Id: manual.pwd,v 1.
|
5605
|
+
# $Id: manual.pwd,v 1.51 2005/07/01 16:48:26 austin Exp $
|
5600
5606
|
# vim: sts=2 sw=2 ts=4 et ai tw=77 foldmethod=marker foldcolumn=2
|
5601
5607
|
#++
|
metadata
CHANGED