pdf-wrapper 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/DESIGN +1 -0
- data/README +6 -4
- data/Rakefile +22 -15
- data/examples/image.rb +9 -1
- data/examples/utf8-long.rb +11 -0
- data/lib/pdf/wrapper.rb +155 -69
- data/{examples → specs/data}/google.png +0 -0
- data/specs/data/graph.svg +138 -0
- data/specs/data/iso-2022-jp.txt +1 -0
- data/specs/data/orc.svg +116 -0
- data/specs/data/shift_jis.txt +1 -0
- data/specs/data/shipsail.jpg +0 -0
- data/specs/data/stef.jpg +0 -0
- data/specs/data/utf8-long.pdf +0 -0
- data/specs/data/utf8-long.txt +212 -0
- data/specs/data/utf8.txt +1 -0
- data/specs/data/zits.gif +0 -0
- data/specs/wrapper_spec.rb +451 -0
- metadata +18 -7
- data/examples/image.pdf +0 -0
- data/examples/shapes.pdf +0 -66
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf-wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Healy
|
@@ -9,11 +9,11 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-01-
|
12
|
+
date: 2008-01-11 00:00:00 +11:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description: A PDF writing library that uses the cairo and
|
16
|
+
description: A unicode aware PDF writing library that uses the ruby bindings to various c libraries ( like, cairo, pango, poppler and rsvg ) to do the heavy lifting.
|
17
17
|
email: jimmy@deefa.com
|
18
18
|
executables: []
|
19
19
|
|
@@ -24,23 +24,34 @@ extra_rdoc_files:
|
|
24
24
|
- DESIGN
|
25
25
|
- CHANGELOG
|
26
26
|
files:
|
27
|
-
- examples/google.png
|
28
27
|
- examples/cell.rb
|
29
28
|
- examples/image.rb
|
29
|
+
- examples/utf8-long.rb
|
30
30
|
- examples/table.rb
|
31
31
|
- examples/shapes.rb
|
32
|
-
- examples/shapes.pdf
|
33
|
-
- examples/image.pdf
|
34
32
|
- examples/utf8.rb
|
35
33
|
- lib/pdf
|
36
34
|
- lib/pdf/wrapper.rb
|
37
35
|
- lib/pdf/core.rb
|
36
|
+
- specs/data
|
37
|
+
- specs/data/google.png
|
38
|
+
- specs/data/graph.svg
|
39
|
+
- specs/data/shift_jis.txt
|
40
|
+
- specs/data/utf8-long.txt
|
41
|
+
- specs/data/iso-2022-jp.txt
|
42
|
+
- specs/data/utf8.txt
|
43
|
+
- specs/data/shipsail.jpg
|
44
|
+
- specs/data/zits.gif
|
45
|
+
- specs/data/orc.svg
|
46
|
+
- specs/data/stef.jpg
|
47
|
+
- specs/data/utf8-long.pdf
|
48
|
+
- specs/wrapper_spec.rb
|
38
49
|
- Rakefile
|
39
50
|
- README
|
40
51
|
- DESIGN
|
41
52
|
- CHANGELOG
|
42
53
|
has_rdoc: true
|
43
|
-
homepage:
|
54
|
+
homepage: http://pdf-wrapper.rubyforge.org/
|
44
55
|
post_install_message:
|
45
56
|
rdoc_options:
|
46
57
|
- --title
|
data/examples/image.pdf
DELETED
Binary file
|
data/examples/shapes.pdf
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
%PDF-1.4
|
2
|
-
%����
|
3
|
-
2 0 obj
|
4
|
-
<< /Length 3 0 R
|
5
|
-
/Filter /FlateDecode
|
6
|
-
/Type /XObject
|
7
|
-
/Subtype /Form
|
8
|
-
/BBox [ 0 0 595.28 841.89 ]
|
9
|
-
>>
|
10
|
-
stream
|
11
|
-
x��R�N�0�W�?�(v�� !qX8"(�V��a��O�<�yQ��ӎ�c� ��G�G8~�/<����-p����;��%0�s�6��u�`S0g���>)+�^�Ey�1�(�S߽�}GO���ɑ|��J�;z w�A�`��8ܶ>�(Wق�i�ɱ�jhēd�Ӄ3�5d�)�wIs���X�q�Rr���~0��l��S�,��K�m��>A�mZ���pPb3�0VS`8�X%I���"�BR�ز��dj���^A*�%�H�Z���^���z�)��v�����3];�'a��q�hz����-b���͚C^��N
|
12
|
-
endstream
|
13
|
-
endobj
|
14
|
-
3 0 obj
|
15
|
-
342
|
16
|
-
endobj
|
17
|
-
4 0 obj
|
18
|
-
<< /Type /Page
|
19
|
-
/Parent 1 0 R
|
20
|
-
/MediaBox [ 0 0 595.28 841.89 ]
|
21
|
-
/Contents [ 2 0 R ]
|
22
|
-
/Group <<
|
23
|
-
/Type /Group
|
24
|
-
/S /Transparency
|
25
|
-
/CS /DeviceRGB
|
26
|
-
>>
|
27
|
-
>>
|
28
|
-
endobj
|
29
|
-
1 0 obj
|
30
|
-
<< /Type /Pages
|
31
|
-
/Kids [ 4 0 R ]
|
32
|
-
/Count 1
|
33
|
-
/Resources <<
|
34
|
-
/ExtGState <<
|
35
|
-
/a0 << /CA 1 /ca 1 >>
|
36
|
-
>>
|
37
|
-
>>
|
38
|
-
>>
|
39
|
-
endobj
|
40
|
-
5 0 obj
|
41
|
-
<< /Creator (cairo 1.4.12 (http://cairographics.org))
|
42
|
-
/Producer (cairo 1.4.12 (http://cairographics.org))
|
43
|
-
>>
|
44
|
-
endobj
|
45
|
-
6 0 obj
|
46
|
-
<< /Type /Catalog
|
47
|
-
/Pages 1 0 R
|
48
|
-
>>
|
49
|
-
endobj
|
50
|
-
xref
|
51
|
-
0 7
|
52
|
-
0000000000 65535 f
|
53
|
-
0000000739 00000 n
|
54
|
-
0000000017 00000 n
|
55
|
-
0000000512 00000 n
|
56
|
-
0000000537 00000 n
|
57
|
-
0000000898 00000 n
|
58
|
-
0000001030 00000 n
|
59
|
-
trailer
|
60
|
-
<< /Size 7
|
61
|
-
/Root 6 0 R
|
62
|
-
/Info 5 0 R
|
63
|
-
>>
|
64
|
-
startxref
|
65
|
-
1087
|
66
|
-
%%EOF
|