pdf-extract 0.0.9 → 0.0.10
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.
- data/lib/model/characters.rb +2 -2
- metadata +8 -7
data/lib/model/characters.rb
CHANGED
|
@@ -128,8 +128,8 @@ module PdfExtract
|
|
|
128
128
|
def self.build_fonts page
|
|
129
129
|
fonts = {}
|
|
130
130
|
font_metrics = {}
|
|
131
|
-
page.fonts.each do |label,
|
|
132
|
-
font = PDF::Reader::Font.new(page.objects,
|
|
131
|
+
page.fonts.each do |label, font_obj|
|
|
132
|
+
font = PDF::Reader::Font.new(page.objects, font_obj)
|
|
133
133
|
fonts[label] = font
|
|
134
134
|
font_metrics[label] = FontMetrics.new font
|
|
135
135
|
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 10
|
|
9
|
+
version: 0.0.10
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Karl Jonathan Ward
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-12-
|
|
17
|
+
date: 2011-12-28 00:00:00 +00:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -23,13 +23,14 @@ dependencies:
|
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
24
|
none: false
|
|
25
25
|
requirements:
|
|
26
|
-
- -
|
|
26
|
+
- - ~>
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
28
|
segments:
|
|
29
|
-
- 0
|
|
30
|
-
- 10
|
|
31
29
|
- 1
|
|
32
|
-
|
|
30
|
+
- 0
|
|
31
|
+
- 0
|
|
32
|
+
- rc1
|
|
33
|
+
version: 1.0.0.rc1
|
|
33
34
|
type: :runtime
|
|
34
35
|
version_requirements: *id001
|
|
35
36
|
- !ruby/object:Gem::Dependency
|