rbpdf 1.18.4 → 1.18.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/CHANGELOG +9 -0
- data/lib/rbpdf.rb +128 -91
- data/lib/rbpdf/version.rb +1 -1
- data/test/rbpdf_css_test.rb +276 -1
- data/test/rbpdf_dom_test.rb +31 -15
- data/test/rbpdf_html_func_test.rb +26 -0
- data/test/rbpdf_html_test.rb +428 -13
- metadata +173 -179
metadata
CHANGED
@@ -1,243 +1,237 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbpdf
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.18.5
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- NAITOH Jun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
date: 2015-01-24 00:00:00 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.6'
|
20
|
-
type: :development
|
21
16
|
prerelease: false
|
22
|
-
|
23
|
-
requirements:
|
24
|
-
- -
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: "1.6"
|
34
22
|
type: :development
|
23
|
+
version_requirements: *id001
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: rake
|
35
26
|
prerelease: false
|
36
|
-
|
37
|
-
requirements:
|
38
|
-
-
|
39
|
-
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
27
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- &id003
|
30
|
+
- ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: "0"
|
33
|
+
type: :development
|
34
|
+
version_requirements: *id002
|
35
|
+
description: A template plugin allowing the inclusion of ERB-enabled RBPDF template files.
|
36
|
+
email:
|
44
37
|
- naitoh@gmail.com
|
45
38
|
executables: []
|
39
|
+
|
46
40
|
extensions: []
|
41
|
+
|
47
42
|
extra_rdoc_files: []
|
48
|
-
|
49
|
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
43
|
+
|
44
|
+
files:
|
45
|
+
- lib/rbpdf/version.rb
|
46
|
+
- lib/htmlcolors.rb
|
47
|
+
- lib/unicode_data.rb
|
48
|
+
- lib/rbpdf.rb
|
54
49
|
- lib/core/rmagick.rb
|
55
|
-
- lib/fonts/README.z
|
56
|
-
- lib/fonts/arialunicid0_cw.rb
|
57
|
-
- lib/fonts/cid0cs.rb
|
58
|
-
- lib/fonts/cid0ct.rb
|
59
50
|
- lib/fonts/cid0jp.rb
|
51
|
+
- lib/fonts/kozminproregular.rb
|
52
|
+
- lib/fonts/stsongstdlight.rb
|
53
|
+
- lib/fonts/helvetica.rb
|
54
|
+
- lib/fonts/freesans.rb
|
55
|
+
- lib/fonts/symbol.rb
|
56
|
+
- lib/fonts/uni2cid_aj16.rb
|
57
|
+
- lib/fonts/hysmyeongjostdmedium.rb
|
58
|
+
- lib/fonts/helveticabi.rb
|
59
|
+
- lib/fonts/freemonoi.rb
|
60
|
+
- lib/fonts/freemonob.rb
|
61
|
+
- lib/fonts/uni2cid_ag15.rb
|
62
|
+
- lib/fonts/freeserifbi.rb
|
63
|
+
- lib/fonts/kozgopromedium.rb
|
64
|
+
- lib/fonts/zapfdingbats.rb
|
65
|
+
- lib/fonts/freeserifi.rb
|
66
|
+
- lib/fonts/freeserif.rb
|
67
|
+
- lib/fonts/msungstdlight.rb
|
60
68
|
- lib/fonts/cid0kr.rb
|
69
|
+
- lib/fonts/dejavusansb.rb
|
70
|
+
- lib/fonts/freeserifb.rb
|
71
|
+
- lib/fonts/timesi.rb
|
72
|
+
- lib/fonts/times.rb
|
73
|
+
- lib/fonts/helveticai.rb
|
61
74
|
- lib/fonts/courier.rb
|
62
|
-
- lib/fonts/
|
63
|
-
- lib/fonts/
|
64
|
-
- lib/fonts/
|
65
|
-
- lib/fonts/
|
66
|
-
- lib/fonts/
|
67
|
-
- lib/fonts/
|
75
|
+
- lib/fonts/timesb.rb
|
76
|
+
- lib/fonts/freemono.rb
|
77
|
+
- lib/fonts/dejavusansi.rb
|
78
|
+
- lib/fonts/cid0ct.rb
|
79
|
+
- lib/fonts/cid0cs.rb
|
80
|
+
- lib/fonts/freemonobi.rb
|
81
|
+
- lib/fonts/helveticab.rb
|
68
82
|
- lib/fonts/dejavusans.rb
|
69
|
-
- lib/fonts/
|
70
|
-
- lib/fonts/
|
71
|
-
- lib/fonts/
|
72
|
-
- lib/fonts/
|
73
|
-
- lib/fonts/
|
83
|
+
- lib/fonts/freesansb.rb
|
84
|
+
- lib/fonts/sjis.rb
|
85
|
+
- lib/fonts/arialunicid0_cw.rb
|
86
|
+
- lib/fonts/timesbi.rb
|
87
|
+
- lib/fonts/uni2cid_ac15.rb
|
88
|
+
- lib/fonts/uni2cid_ak12.rb
|
74
89
|
- lib/fonts/dejavusansbi.rb
|
75
|
-
- lib/fonts/
|
76
|
-
- lib/fonts/
|
77
|
-
- lib/fonts/
|
78
|
-
- lib/fonts/
|
79
|
-
- lib/fonts/
|
80
|
-
- lib/fonts/freefont-20080912/COPYING
|
81
|
-
- lib/fonts/freefont-20080912/CREDITS
|
82
|
-
- lib/fonts/freefont-20080912/ChangeLog
|
83
|
-
- lib/fonts/freefont-20080912/INSTALL
|
84
|
-
- lib/fonts/freefont-20080912/README
|
85
|
-
- lib/fonts/freemono.ctg.z
|
86
|
-
- lib/fonts/freemono.rb
|
90
|
+
- lib/fonts/freesansbi.rb
|
91
|
+
- lib/fonts/freesansi.rb
|
92
|
+
- lib/fonts/freesansbi.z
|
93
|
+
- lib/fonts/freesansb.ctg.z
|
94
|
+
- lib/fonts/freeserifb.z
|
87
95
|
- lib/fonts/freemono.z
|
96
|
+
- lib/fonts/freeserif.ctg.z
|
97
|
+
- lib/fonts/dejavusansb.ctg.z
|
88
98
|
- lib/fonts/freemonob.ctg.z
|
89
|
-
- lib/fonts/
|
99
|
+
- lib/fonts/freemono.ctg.z
|
100
|
+
- lib/fonts/dejavusansi.ctg.z
|
101
|
+
- lib/fonts/dejavusansb.z
|
90
102
|
- lib/fonts/freemonob.z
|
91
|
-
- lib/fonts/
|
92
|
-
- lib/fonts/freemonobi.rb
|
93
|
-
- lib/fonts/freemonobi.z
|
94
|
-
- lib/fonts/freemonoi.ctg.z
|
95
|
-
- lib/fonts/freemonoi.rb
|
96
|
-
- lib/fonts/freemonoi.z
|
97
|
-
- lib/fonts/freesans.ctg.z
|
98
|
-
- lib/fonts/freesans.rb
|
103
|
+
- lib/fonts/freeserifi.ctg.z
|
99
104
|
- lib/fonts/freesans.z
|
100
|
-
- lib/fonts/
|
101
|
-
- lib/fonts/
|
102
|
-
- lib/fonts/
|
105
|
+
- lib/fonts/freeserifb.ctg.z
|
106
|
+
- lib/fonts/freemonoi.ctg.z
|
107
|
+
- lib/fonts/freeserif.z
|
103
108
|
- lib/fonts/freesansbi.ctg.z
|
104
|
-
- lib/fonts/freesansbi.rb
|
105
|
-
- lib/fonts/freesansbi.z
|
106
|
-
- lib/fonts/freesansi.ctg.z
|
107
|
-
- lib/fonts/freesansi.rb
|
108
109
|
- lib/fonts/freesansi.z
|
109
|
-
- lib/fonts/
|
110
|
-
- lib/fonts/
|
111
|
-
- lib/fonts/
|
112
|
-
- lib/fonts/
|
113
|
-
- lib/fonts/freeserifb.rb
|
114
|
-
- lib/fonts/freeserifb.z
|
110
|
+
- lib/fonts/dejavusansbi.z
|
111
|
+
- lib/fonts/dejavusans.ctg.z
|
112
|
+
- lib/fonts/freesansb.z
|
113
|
+
- lib/fonts/dejavusansbi.ctg.z
|
115
114
|
- lib/fonts/freeserifbi.ctg.z
|
116
|
-
- lib/fonts/
|
117
|
-
- lib/fonts/freeserifbi.z
|
118
|
-
- lib/fonts/freeserifi.ctg.z
|
119
|
-
- lib/fonts/freeserifi.rb
|
115
|
+
- lib/fonts/freesans.ctg.z
|
120
116
|
- lib/fonts/freeserifi.z
|
121
|
-
- lib/fonts/
|
122
|
-
- lib/fonts/
|
123
|
-
- lib/fonts/
|
124
|
-
- lib/fonts/
|
125
|
-
- lib/fonts/
|
126
|
-
- lib/fonts/
|
127
|
-
- lib/fonts/
|
128
|
-
- lib/fonts/
|
129
|
-
- lib/fonts/
|
130
|
-
- lib/fonts/
|
131
|
-
- lib/fonts/
|
132
|
-
- lib/fonts/
|
133
|
-
- lib/fonts/
|
134
|
-
- lib/fonts/
|
135
|
-
- lib/fonts/
|
136
|
-
- lib/fonts/
|
137
|
-
- lib/fonts/
|
138
|
-
- lib/fonts/
|
139
|
-
- lib/fonts/
|
140
|
-
- lib/fonts/zapfdingbats.rb
|
141
|
-
- lib/htmlcolors.rb
|
142
|
-
- lib/rbpdf.rb
|
143
|
-
- lib/rbpdf/version.rb
|
144
|
-
- lib/unicode_data.rb
|
145
|
-
- logo_example.png
|
146
|
-
- rbpdf.gemspec
|
147
|
-
- test/logo_rbpdf_8bit.gif
|
148
|
-
- test/logo_rbpdf_8bit.jpg
|
117
|
+
- lib/fonts/dejavusans.z
|
118
|
+
- lib/fonts/freesansi.ctg.z
|
119
|
+
- lib/fonts/freemonobi.ctg.z
|
120
|
+
- lib/fonts/freemonobi.z
|
121
|
+
- lib/fonts/freeserifbi.z
|
122
|
+
- lib/fonts/README.z
|
123
|
+
- lib/fonts/dejavusansi.z
|
124
|
+
- lib/fonts/freemonoi.z
|
125
|
+
- lib/fonts/freefont-20080912/AUTHORS
|
126
|
+
- lib/fonts/freefont-20080912/CREDITS
|
127
|
+
- lib/fonts/freefont-20080912/README
|
128
|
+
- lib/fonts/freefont-20080912/ChangeLog
|
129
|
+
- lib/fonts/freefont-20080912/INSTALL
|
130
|
+
- lib/fonts/freefont-20080912/COPYING
|
131
|
+
- lib/fonts/dejavu-fonts-ttf-2.33/AUTHORS
|
132
|
+
- lib/fonts/dejavu-fonts-ttf-2.33/BUGS
|
133
|
+
- lib/fonts/dejavu-fonts-ttf-2.33/LICENSE
|
134
|
+
- lib/fonts/dejavu-fonts-ttf-2.33/NEWS
|
135
|
+
- lib/fonts/dejavu-fonts-ttf-2.33/README
|
149
136
|
- test/logo_rbpdf_8bit.png
|
150
|
-
- test/logo_rbpdf_8bit_alpha.gif
|
151
|
-
- test/logo_rbpdf_mono_gray.jpg
|
152
|
-
- test/logo_rbpdf_mono_gray.png
|
153
|
-
- test/logo_rbpdf_mono_rgb.jpg
|
154
|
-
- test/logo_rbpdf_mono_rgb.png
|
155
|
-
- test/png_test_alpha.png
|
156
|
-
- test/png_test_msk_alpha.png
|
157
|
-
- test/png_test_non_alpha.png
|
158
|
-
- test/rbpdf_bidi_test.rb
|
159
137
|
- test/rbpdf_bookmark_test.rb
|
160
|
-
- test/
|
161
|
-
- test/rbpdf_content_test.rb
|
138
|
+
- test/png_test_non_alpha.png
|
162
139
|
- test/rbpdf_css_test.rb
|
140
|
+
- test/logo_rbpdf_8bit_alpha.gif
|
141
|
+
- test/rbpdf_font_style_test.rb
|
163
142
|
- test/rbpdf_dom_test.rb
|
164
143
|
- test/rbpdf_font_func_test.rb
|
165
|
-
- test/
|
144
|
+
- test/rbpdf_image_test.rb
|
145
|
+
- test/rbpdf_content_test.rb
|
146
|
+
- test/rbpdf_transaction_test.rb
|
166
147
|
- test/rbpdf_font_test.rb
|
167
148
|
- test/rbpdf_format_test.rb
|
149
|
+
- test/logo_rbpdf_8bit.gif
|
150
|
+
- test/png_test_alpha.png
|
151
|
+
- test/rbpdf_test.rb
|
152
|
+
- test/logo_rbpdf_mono_rgb.png
|
153
|
+
- test/logo_rbpdf_8bit.jpg
|
154
|
+
- test/logo_rbpdf_mono_gray.png
|
155
|
+
- test/rbpdf_write_test.rb
|
168
156
|
- test/rbpdf_func_test.rb
|
169
|
-
- test/rbpdf_html_func_test.rb
|
170
157
|
- test/rbpdf_html_test.rb
|
158
|
+
- test/logo_rbpdf_mono_rgb.jpg
|
159
|
+
- test/test_helper.rb
|
160
|
+
- test/rbpdf_cell_test.rb
|
161
|
+
- test/png_test_msk_alpha.png
|
162
|
+
- test/logo_rbpdf_mono_gray.jpg
|
163
|
+
- test/rbpdf_html_func_test.rb
|
164
|
+
- test/rbpdf_viewerpreferences_test.rb
|
171
165
|
- test/rbpdf_htmlcell_test.rb
|
172
166
|
- test/rbpdf_image_rmagick_test.rb
|
173
|
-
- test/
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
- test/test_helper.rb
|
167
|
+
- test/rbpdf_bidi_test.rb
|
168
|
+
- Rakefile
|
169
|
+
- rbpdf.gemspec
|
170
|
+
- Gemfile
|
171
|
+
- CHANGELOG
|
179
172
|
- test_unicode.rbpdf
|
173
|
+
- README.md
|
174
|
+
- LICENSE.TXT
|
180
175
|
- utf8test.txt
|
181
|
-
|
182
|
-
|
176
|
+
- logo_example.png
|
177
|
+
homepage: ""
|
178
|
+
licenses:
|
183
179
|
- LGPL 2.1 or later
|
184
180
|
metadata: {}
|
181
|
+
|
185
182
|
post_install_message:
|
186
|
-
rdoc_options:
|
187
|
-
-
|
183
|
+
rdoc_options:
|
184
|
+
- --exclude
|
188
185
|
- lib/fonts/
|
189
|
-
-
|
186
|
+
- --exclude
|
190
187
|
- lib/htmlcolors.rb
|
191
|
-
-
|
188
|
+
- --exclude
|
192
189
|
- lib/unicode_data.rb
|
193
|
-
require_paths:
|
190
|
+
require_paths:
|
194
191
|
- lib
|
195
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
requirements:
|
202
|
-
- - ">="
|
203
|
-
- !ruby/object:Gem::Version
|
204
|
-
version: '0'
|
192
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- *id003
|
195
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- *id003
|
205
198
|
requirements: []
|
199
|
+
|
206
200
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.
|
201
|
+
rubygems_version: 2.0.14
|
208
202
|
signing_key:
|
209
203
|
specification_version: 4
|
210
204
|
summary: RBPDF via TCPDF.
|
211
|
-
test_files:
|
212
|
-
- test/logo_rbpdf_8bit.gif
|
213
|
-
- test/logo_rbpdf_8bit.jpg
|
205
|
+
test_files:
|
214
206
|
- test/logo_rbpdf_8bit.png
|
215
|
-
- test/logo_rbpdf_8bit_alpha.gif
|
216
|
-
- test/logo_rbpdf_mono_gray.jpg
|
217
|
-
- test/logo_rbpdf_mono_gray.png
|
218
|
-
- test/logo_rbpdf_mono_rgb.jpg
|
219
|
-
- test/logo_rbpdf_mono_rgb.png
|
220
|
-
- test/png_test_alpha.png
|
221
|
-
- test/png_test_msk_alpha.png
|
222
|
-
- test/png_test_non_alpha.png
|
223
|
-
- test/rbpdf_bidi_test.rb
|
224
207
|
- test/rbpdf_bookmark_test.rb
|
225
|
-
- test/
|
226
|
-
- test/rbpdf_content_test.rb
|
208
|
+
- test/png_test_non_alpha.png
|
227
209
|
- test/rbpdf_css_test.rb
|
210
|
+
- test/logo_rbpdf_8bit_alpha.gif
|
211
|
+
- test/rbpdf_font_style_test.rb
|
228
212
|
- test/rbpdf_dom_test.rb
|
229
213
|
- test/rbpdf_font_func_test.rb
|
230
|
-
- test/
|
214
|
+
- test/rbpdf_image_test.rb
|
215
|
+
- test/rbpdf_content_test.rb
|
216
|
+
- test/rbpdf_transaction_test.rb
|
231
217
|
- test/rbpdf_font_test.rb
|
232
218
|
- test/rbpdf_format_test.rb
|
219
|
+
- test/logo_rbpdf_8bit.gif
|
220
|
+
- test/png_test_alpha.png
|
221
|
+
- test/rbpdf_test.rb
|
222
|
+
- test/logo_rbpdf_mono_rgb.png
|
223
|
+
- test/logo_rbpdf_8bit.jpg
|
224
|
+
- test/logo_rbpdf_mono_gray.png
|
225
|
+
- test/rbpdf_write_test.rb
|
233
226
|
- test/rbpdf_func_test.rb
|
234
|
-
- test/rbpdf_html_func_test.rb
|
235
227
|
- test/rbpdf_html_test.rb
|
228
|
+
- test/logo_rbpdf_mono_rgb.jpg
|
229
|
+
- test/test_helper.rb
|
230
|
+
- test/rbpdf_cell_test.rb
|
231
|
+
- test/png_test_msk_alpha.png
|
232
|
+
- test/logo_rbpdf_mono_gray.jpg
|
233
|
+
- test/rbpdf_html_func_test.rb
|
234
|
+
- test/rbpdf_viewerpreferences_test.rb
|
236
235
|
- test/rbpdf_htmlcell_test.rb
|
237
236
|
- test/rbpdf_image_rmagick_test.rb
|
238
|
-
- test/
|
239
|
-
- test/rbpdf_test.rb
|
240
|
-
- test/rbpdf_transaction_test.rb
|
241
|
-
- test/rbpdf_viewerpreferences_test.rb
|
242
|
-
- test/rbpdf_write_test.rb
|
243
|
-
- test/test_helper.rb
|
237
|
+
- test/rbpdf_bidi_test.rb
|