eideticpdf 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/epdfafm.rb +1 -1
- data/lib/epdfdw.rb +1 -1
- data/lib/epdfk.rb +1 -1
- data/lib/epdfo.rb +1 -1
- data/lib/epdfpw.rb +2 -2
- data/lib/epdfs.rb +4 -1
- data/lib/epdfsw.rb +3 -2
- data/lib/epdft.rb +1 -1
- data/lib/epdftt.rb +1 -1
- metadata +21 -40
data/lib/epdfafm.rb
CHANGED
data/lib/epdfdw.rb
CHANGED
data/lib/epdfk.rb
CHANGED
data/lib/epdfo.rb
CHANGED
data/lib/epdfpw.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: ASCII
|
2
|
+
# encoding: US-ASCII
|
3
3
|
#
|
4
4
|
# Created by Brent Rowland on 2007-07-13.
|
5
5
|
# Copyright (c) 2007, Eidetic Software. All rights reserved.
|
@@ -575,7 +575,7 @@ module EideticPDF
|
|
575
575
|
@page.resources = @doc.resources
|
576
576
|
@doc.file.body << @page
|
577
577
|
end
|
578
|
-
@stream = ''
|
578
|
+
@stream = ''.force_encoding(Encoding::ASCII_8BIT)
|
579
579
|
@annotations = []
|
580
580
|
@char_spacing = @word_spacing = 0.0
|
581
581
|
@last_char_spacing = @last_word_spacing = 0.0
|
data/lib/epdfs.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: ASCII
|
2
|
+
# encoding: US-ASCII
|
3
3
|
#
|
4
4
|
# Created by Brent Rowland on 2008-01-12.
|
5
5
|
# Copyright (c) 2008, Eidetic Software. All rights reserved.
|
@@ -109,5 +109,8 @@ module EideticPDF
|
|
109
109
|
def iconv(text)
|
110
110
|
text.encode(@to, @from, :invalid => :replace, :undef => :replace)
|
111
111
|
end
|
112
|
+
|
113
|
+
def close
|
114
|
+
end
|
112
115
|
end
|
113
116
|
end
|
data/lib/epdfsw.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: ASCII
|
2
|
+
# encoding: US-ASCII
|
3
3
|
#
|
4
4
|
# Created by Brent Rowland on 2007-07-13.
|
5
5
|
# Copyright (c) 2007, 2008 Eidetic Software. All rights reserved.
|
@@ -245,7 +245,8 @@ module EideticPDF
|
|
245
245
|
end
|
246
246
|
|
247
247
|
def show(s)
|
248
|
-
|
248
|
+
escaped = "(%s) Tj\n" % PdfObjects::PdfString.escape(s)
|
249
|
+
@stream << escaped.force_encoding(Encoding::ASCII_8BIT)
|
249
250
|
end
|
250
251
|
|
251
252
|
def show_wide(ws)
|
data/lib/epdft.rb
CHANGED
data/lib/epdftt.rb
CHANGED
metadata
CHANGED
@@ -1,33 +1,22 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: eideticpdf
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
version: 1.0.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Brent Rowland
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2013-03-27 00:00:00 -07:00
|
19
|
-
default_executable:
|
12
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
14
|
description:
|
23
15
|
email: rowland@rowlandresearch.com
|
24
16
|
executables: []
|
25
|
-
|
26
17
|
extensions: []
|
27
|
-
|
28
18
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
19
|
+
files:
|
31
20
|
- lib/epdfafm.rb
|
32
21
|
- lib/epdfdw.rb
|
33
22
|
- lib/epdfk.rb
|
@@ -204,44 +193,36 @@ files:
|
|
204
193
|
- fonts/ZapfChancery-MediumItalic.inf
|
205
194
|
- fonts/ZapfDingbats.inf
|
206
195
|
- test/pdf_tests.rb
|
207
|
-
has_rdoc: true
|
208
196
|
homepage: https://github.com/rowland/eideticpdf
|
209
197
|
licenses: []
|
210
|
-
|
211
198
|
post_install_message:
|
212
|
-
rdoc_options:
|
199
|
+
rdoc_options:
|
213
200
|
- --title
|
214
201
|
- Eidetic PDF
|
215
202
|
- --main
|
216
203
|
- lib/epdfdw.rb
|
217
204
|
- -x
|
218
205
|
- test
|
219
|
-
require_paths:
|
206
|
+
require_paths:
|
220
207
|
- lib
|
221
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
222
209
|
none: false
|
223
|
-
requirements:
|
224
|
-
- -
|
225
|
-
- !ruby/object:Gem::Version
|
226
|
-
|
227
|
-
|
228
|
-
- 0
|
229
|
-
version: "0"
|
230
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
215
|
none: false
|
232
|
-
requirements:
|
233
|
-
- -
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
|
236
|
-
|
237
|
-
- 0
|
238
|
-
version: "0"
|
239
|
-
requirements:
|
216
|
+
requirements:
|
217
|
+
- - ! '>='
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
requirements:
|
240
221
|
- Ruby 1.8.7 or 1.9.3
|
241
222
|
rubyforge_project: eideticpdf
|
242
|
-
rubygems_version: 1.
|
223
|
+
rubygems_version: 1.8.23
|
243
224
|
signing_key:
|
244
225
|
specification_version: 3
|
245
226
|
summary: PDF Library
|
246
|
-
test_files:
|
227
|
+
test_files:
|
247
228
|
- test/pdf_tests.rb
|