poppler 1.2.1-x86-mingw32 → 1.2.2-x86-mingw32
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/README +1 -3
- data/Rakefile +1 -1
- data/ext/poppler/extconf.rb +1 -1
- data/ext/poppler/rbpoppler-color.c +1 -14
- data/ext/poppler/rbpoppler-page.c +18 -127
- data/ext/poppler/rbpoppler-private.h +0 -4
- data/lib/1.9/poppler.so +0 -0
- data/lib/2.0/poppler.so +0 -0
- data/sample/pdf2.rb +5 -16
- data/test/test_page.rb +3 -42
- metadata +124 -161
- data/lib/1.8/poppler.so +0 -0
data/README
CHANGED
@@ -9,8 +9,6 @@ Requirements
|
|
9
9
|
Ruby: http://www.ruby-lang.org/
|
10
10
|
poppler-glib [*]: http://poppler.freedesktop.org/
|
11
11
|
Ruby/GLib2: http://ruby-gnome2.sourceforge.net/
|
12
|
-
Ruby/GTK2: http://ruby-gnome2.sourceforge.net/
|
13
|
-
Ruby/GdkPixbuf2: http://ruby-gnome2.sourceforge.net/
|
14
12
|
cairo/rcairo: http://cairographics.org/ (optional)
|
15
13
|
|
16
14
|
[*]: 0.8.0 or later is requried.
|
@@ -26,7 +24,7 @@ Install
|
|
26
24
|
|
27
25
|
Copying
|
28
26
|
-------
|
29
|
-
Copyright (c) 2002-
|
27
|
+
Copyright (c) 2002-2013 Ruby-GNOME2 Project Team
|
30
28
|
|
31
29
|
This program is free software.
|
32
30
|
You can distribute/modify this program under the terms of
|
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ require 'gnome2-raketask'
|
|
6
6
|
package = GNOME2Package.new do |_package|
|
7
7
|
_package.summary = "Ruby/Poppler is a Ruby binding of poppler-glib."
|
8
8
|
_package.description = "Ruby/Poppler is a Ruby binding of poppler-glib."
|
9
|
-
_package.dependency.gem.runtime = [
|
9
|
+
_package.dependency.gem.runtime = []
|
10
10
|
_package.win32.packages = []
|
11
11
|
_package.win32.dependencies = ["poppler",
|
12
12
|
["libpng", "1.2.40-1"],
|
data/ext/poppler/extconf.rb
CHANGED
@@ -30,7 +30,7 @@ rescue LoadError
|
|
30
30
|
require 'mkmf-gnome2'
|
31
31
|
end
|
32
32
|
|
33
|
-
["glib2", "atk", "pango", "gdk_pixbuf2"
|
33
|
+
["glib2", "atk", "pango", "gdk_pixbuf2"].each do |package|
|
34
34
|
directory = "#{package}#{version_suffix}"
|
35
35
|
build_dir = "#{directory}/tmp/#{RUBY_PLATFORM}/#{package}/#{RUBY_VERSION}"
|
36
36
|
add_depend_package(package, "#{directory}/ext/#{package}",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2011 Ruby-GNOME2 Project Team
|
3
|
+
* Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
|
4
4
|
* Copyright (C) 2006-2008 Ruby-GNOME2 Project Team
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -29,19 +29,6 @@ VALUE RG_TARGET_NAMESPACE;
|
|
29
29
|
PopplerColor *
|
30
30
|
rb_poppler_ruby_object_to_color(VALUE color)
|
31
31
|
{
|
32
|
-
#ifdef POPPLER_WITH_GDK
|
33
|
-
if (RTEST(rb_obj_is_kind_of(color, rb_cGdkColor))) {
|
34
|
-
GdkColor *gdk_color;
|
35
|
-
|
36
|
-
gdk_color = RVAL2GDKCOLOR(color);
|
37
|
-
color = rb_funcall(RG_TARGET_NAMESPACE, rb_intern("new"),
|
38
|
-
3,
|
39
|
-
UINT2NUM(gdk_color->red),
|
40
|
-
UINT2NUM(gdk_color->green),
|
41
|
-
UINT2NUM(gdk_color->blue));
|
42
|
-
}
|
43
|
-
#endif
|
44
|
-
|
45
32
|
return RVAL2BOXED(color, POPPLER_TYPE_COLOR);
|
46
33
|
}
|
47
34
|
|
@@ -24,28 +24,9 @@
|
|
24
24
|
#define RG_TARGET_NAMESPACE cPage
|
25
25
|
#define SELF(self) (RVAL2POPPLERPAGE(self))
|
26
26
|
|
27
|
-
#ifndef GDK_TYPE_REGION
|
28
|
-
extern GType gdk_region_get_type(void);
|
29
|
-
# define GDK_TYPE_REGION (gdk_region_get_type())
|
30
|
-
#endif
|
31
|
-
|
32
27
|
static VALUE cRectangle;
|
33
28
|
static VALUE cPSFile;
|
34
29
|
|
35
|
-
#ifdef POPPLER_WITH_GDK
|
36
|
-
static VALUE
|
37
|
-
page_render_to_pixbuf(VALUE self, VALUE src_x, VALUE src_y, VALUE src_width,
|
38
|
-
VALUE src_height, VALUE scale, VALUE rotation,
|
39
|
-
VALUE pixbuf)
|
40
|
-
{
|
41
|
-
poppler_page_render_to_pixbuf(SELF(self), NUM2INT(src_x),
|
42
|
-
NUM2INT(src_y), NUM2INT(src_width),
|
43
|
-
NUM2INT(src_height), NUM2DBL(scale),
|
44
|
-
NUM2INT(rotation), RVAL2GDKPIXBUF(pixbuf));
|
45
|
-
return Qnil;
|
46
|
-
}
|
47
|
-
#endif
|
48
|
-
|
49
30
|
#ifdef RB_POPPLER_CAIRO_AVAILABLE
|
50
31
|
static VALUE
|
51
32
|
page_render(VALUE self, VALUE cairo)
|
@@ -63,49 +44,19 @@ page_render_to_ps(VALUE self, VALUE ps_file)
|
|
63
44
|
}
|
64
45
|
|
65
46
|
static VALUE
|
66
|
-
rg_render(
|
47
|
+
rg_render(VALUE ps_file_or_cairo, VALUE self)
|
67
48
|
{
|
68
|
-
if (
|
69
|
-
|
70
|
-
|
71
|
-
} else {
|
49
|
+
if (RVAL2CBOOL(rb_obj_is_kind_of(ps_file_or_cairo, cPSFile))) {
|
50
|
+
return page_render_to_ps(self, ps_file_or_cairo);
|
51
|
+
} else {
|
72
52
|
#ifdef RB_POPPLER_CAIRO_AVAILABLE
|
73
|
-
|
74
|
-
#else
|
75
|
-
rb_raise(rb_eArgError, "cairo is not available");
|
76
|
-
#endif
|
77
|
-
}
|
78
|
-
} else if (argc == 7) {
|
79
|
-
#ifdef POPPLER_WITH_GDK
|
80
|
-
return page_render_to_pixbuf(self, argv[0], argv[1], argv[2], argv[3],
|
81
|
-
argv[4], argv[5], argv[6]);
|
53
|
+
return page_render(self, ps_file_or_cairo);
|
82
54
|
#else
|
83
|
-
rb_raise(rb_eArgError, "
|
55
|
+
rb_raise(rb_eArgError, "cairo is not available");
|
84
56
|
#endif
|
85
|
-
} else {
|
86
|
-
rb_raise(rb_eArgError,
|
87
|
-
"wrong number of arguments (%d for 1 or 7)",
|
88
|
-
argc);
|
89
57
|
}
|
90
58
|
}
|
91
59
|
|
92
|
-
#ifdef POPPLER_WITH_GDK
|
93
|
-
static VALUE
|
94
|
-
page_render_to_pixbuf_for_printing(VALUE self, VALUE src_x, VALUE src_y,
|
95
|
-
VALUE src_width, VALUE src_height,
|
96
|
-
VALUE scale, VALUE rotation, VALUE pixbuf)
|
97
|
-
{
|
98
|
-
poppler_page_render_to_pixbuf_for_printing(SELF(self), NUM2INT(src_x),
|
99
|
-
NUM2INT(src_y),
|
100
|
-
NUM2INT(src_width),
|
101
|
-
NUM2INT(src_height),
|
102
|
-
NUM2DBL(scale),
|
103
|
-
NUM2INT(rotation),
|
104
|
-
RVAL2GDKPIXBUF(pixbuf));
|
105
|
-
return Qnil;
|
106
|
-
}
|
107
|
-
#endif
|
108
|
-
|
109
60
|
#ifdef RB_POPPLER_CAIRO_AVAILABLE
|
110
61
|
static VALUE
|
111
62
|
page_render_for_printing(VALUE self, VALUE cairo)
|
@@ -116,26 +67,13 @@ page_render_for_printing(VALUE self, VALUE cairo)
|
|
116
67
|
#endif
|
117
68
|
|
118
69
|
static VALUE
|
119
|
-
rg_render_for_printing(
|
70
|
+
rg_render_for_printing(VALUE self, VALUE cairo)
|
120
71
|
{
|
121
|
-
if (argc == 1) {
|
122
72
|
#ifdef RB_POPPLER_CAIRO_AVAILABLE
|
123
|
-
|
124
|
-
#else
|
125
|
-
rb_raise(rb_eArgError, "cairo is not available");
|
126
|
-
#endif
|
127
|
-
} else if (argc == 7) {
|
128
|
-
#ifdef POPPLER_WITH_GDK
|
129
|
-
return page_render_to_pixbuf_for_printing(self, argv[0], argv[1],
|
130
|
-
argv[2], argv[3],
|
131
|
-
argv[4], argv[5], argv[6]);
|
73
|
+
return page_render_for_printing(self, cairo);
|
132
74
|
#else
|
133
|
-
|
75
|
+
rb_raise(rb_eArgError, "cairo is not available");
|
134
76
|
#endif
|
135
|
-
} else {
|
136
|
-
rb_raise(rb_eArgError,
|
137
|
-
"wrong number of arguments (%d for 1 or 7)", argc);
|
138
|
-
}
|
139
77
|
}
|
140
78
|
|
141
79
|
#ifdef RB_POPPLER_CAIRO_AVAILABLE
|
@@ -158,53 +96,17 @@ page_render_selection(VALUE self, VALUE cairo,
|
|
158
96
|
}
|
159
97
|
#endif
|
160
98
|
|
161
|
-
#ifdef POPPLER_WITH_GDK
|
162
|
-
static VALUE
|
163
|
-
page_render_selection_to_pixbuf(VALUE self, VALUE scale, VALUE rotation,
|
164
|
-
VALUE pixbuf, VALUE selection,
|
165
|
-
VALUE rb_old_selection,
|
166
|
-
VALUE style,
|
167
|
-
VALUE glyph_color, VALUE background_color)
|
168
|
-
{
|
169
|
-
PopplerRectangle *old_selection = NULL;
|
170
|
-
|
171
|
-
if (!NIL_P(rb_old_selection))
|
172
|
-
old_selection = RVAL2POPPLERRECTANGLE(rb_old_selection);
|
173
|
-
poppler_page_render_selection_to_pixbuf(SELF(self),
|
174
|
-
NUM2DBL(scale),
|
175
|
-
NUM2INT(rotation),
|
176
|
-
RVAL2GDKPIXBUF(pixbuf),
|
177
|
-
RVAL2POPPLERRECTANGLE(selection),
|
178
|
-
old_selection,
|
179
|
-
RVAL2POPPLERSELECTIONSTYLE(style),
|
180
|
-
RVAL2GDKCOLOR(glyph_color),
|
181
|
-
RVAL2GDKCOLOR(background_color));
|
182
|
-
return Qnil;
|
183
|
-
}
|
184
|
-
#endif
|
185
|
-
|
186
99
|
static VALUE
|
187
|
-
rg_render_selection(
|
100
|
+
rg_render_selection(VALUE self,
|
101
|
+
VALUE cairo, VALUE selection, VALUE old_selection,
|
102
|
+
VALUE style, VALUE glyph_color, VALUE background_color)
|
188
103
|
{
|
189
|
-
if (argc == 6) {
|
190
104
|
#ifdef RB_POPPLER_CAIRO_AVAILABLE
|
191
|
-
|
192
|
-
|
105
|
+
return page_render_selection(self, cairo, selection, old_selection,
|
106
|
+
style, glyph_color, background_color);
|
193
107
|
#else
|
194
|
-
|
195
|
-
#endif
|
196
|
-
} else if (argc == 8) {
|
197
|
-
#ifdef POPPLER_WITH_GDK
|
198
|
-
return page_render_selection_to_pixbuf(self, argv[0], argv[1],
|
199
|
-
argv[2], argv[3], argv[4],
|
200
|
-
argv[5], argv[6], argv[7]);
|
201
|
-
#else
|
202
|
-
rb_raise(rb_eArgError, "GDK is not available");
|
108
|
+
rb_raise(rb_eArgError, "cairo is not available");
|
203
109
|
#endif
|
204
|
-
} else {
|
205
|
-
rb_raise(rb_eArgError,
|
206
|
-
"wrong number of arguments (%d for 5 or 8)", argc);
|
207
|
-
}
|
208
110
|
}
|
209
111
|
|
210
112
|
static VALUE
|
@@ -241,14 +143,6 @@ rg_thumbnail(VALUE self)
|
|
241
143
|
}
|
242
144
|
#endif
|
243
145
|
|
244
|
-
#ifdef POPPLER_WITH_GDK
|
245
|
-
static VALUE
|
246
|
-
rg_thumbnail_pixbuf(VALUE self)
|
247
|
-
{
|
248
|
-
return GOBJ2RVAL(poppler_page_get_thumbnail_pixbuf(SELF(self)));
|
249
|
-
}
|
250
|
-
#endif
|
251
|
-
|
252
146
|
static VALUE
|
253
147
|
rg_thumbnail_size(VALUE self)
|
254
148
|
{
|
@@ -427,8 +321,8 @@ Init_poppler_page(VALUE mPoppler)
|
|
427
321
|
cRectangle = rb_const_get(mPoppler, rb_intern("Rectangle"));
|
428
322
|
cPSFile = rb_const_get(mPoppler, rb_intern("PSFile"));
|
429
323
|
|
430
|
-
RG_DEF_METHOD(render,
|
431
|
-
RG_DEF_METHOD(render_for_printing,
|
324
|
+
RG_DEF_METHOD(render, 1);
|
325
|
+
RG_DEF_METHOD(render_for_printing, 1);
|
432
326
|
RG_DEF_METHOD(size, 0);
|
433
327
|
RG_DEF_METHOD(index, 0);
|
434
328
|
RG_DEF_METHOD(duration, 0);
|
@@ -436,9 +330,6 @@ Init_poppler_page(VALUE mPoppler)
|
|
436
330
|
|
437
331
|
#if RB_POPPLER_CAIRO_AVAILABLE
|
438
332
|
RG_DEF_METHOD(thumbnail, 0);
|
439
|
-
#endif
|
440
|
-
#if POPPLER_WITH_GDK
|
441
|
-
RG_DEF_METHOD(thumbnail_pixbuf, 0);
|
442
333
|
#endif
|
443
334
|
RG_DEF_METHOD(thumbnail_size, 0);
|
444
335
|
RG_DEF_METHOD(find_text, 1);
|
@@ -455,6 +346,6 @@ Init_poppler_page(VALUE mPoppler)
|
|
455
346
|
|
456
347
|
RG_DEF_METHOD(form_field_mapping, 0);
|
457
348
|
RG_DEF_METHOD(annotation_mapping, 0);
|
458
|
-
RG_DEF_METHOD(render_selection,
|
349
|
+
RG_DEF_METHOD(render_selection, 6);
|
459
350
|
RG_DEF_METHOD(crop_box, 0);
|
460
351
|
}
|
data/lib/1.9/poppler.so
CHANGED
Binary file
|
data/lib/2.0/poppler.so
ADDED
Binary file
|
data/sample/pdf2.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'tempfile'
|
4
4
|
require "poppler"
|
5
|
+
require "gdk_pixbuf2"
|
5
6
|
|
6
7
|
if ARGV.size < 2
|
7
8
|
puts "usage: #{$0} input.pdf output [scale_ratio] [rotate_angle]"
|
@@ -81,23 +82,11 @@ def to_pixbuf_with_cairo(input, scale, rotate)
|
|
81
82
|
Gdk::Pixbuf.new(temp.path)
|
82
83
|
end
|
83
84
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
width, height = page.size.collect {|x| x * scale}
|
88
|
-
pixbuf_width, pixbuf_height = compute_size(width, height, rotate)
|
89
|
-
pixbuf = Gdk::Pixbuf.new(Gdk::Pixbuf::COLORSPACE_RGB, true, 8,
|
90
|
-
pixbuf_width, pixbuf_height)
|
91
|
-
page.render(0, 0, width, height, scale, rotate, pixbuf)
|
92
|
-
pixbuf
|
93
|
-
end
|
94
|
-
|
95
|
-
if Poppler.cairo_available?
|
96
|
-
puts "using cairo..."
|
97
|
-
pixbuf = to_pixbuf_with_cairo(input, scale, rotate)
|
98
|
-
else
|
99
|
-
pixbuf = to_pixbuf(input, scale, rotate)
|
85
|
+
unless Poppler.cairo_available?
|
86
|
+
puts "cairo isn't available."
|
87
|
+
exit(false)
|
100
88
|
end
|
89
|
+
pixbuf = to_pixbuf_with_cairo(input, scale, rotate)
|
101
90
|
|
102
91
|
if pixbuf.nil?
|
103
92
|
puts "Is it a PDF file?: #{input}"
|
data/test/test_page.rb
CHANGED
@@ -1,49 +1,10 @@
|
|
1
1
|
class TestPage < Test::Unit::TestCase
|
2
2
|
def test_get_image
|
3
|
+
omit("We don't have PDF that has image...")
|
3
4
|
document = Poppler::Document.new(image_pdf)
|
4
5
|
page, mapping = find_first_image_mapping(document)
|
5
|
-
|
6
|
-
|
7
|
-
assert_kind_of(Cairo::ImageSurface, mapping.image)
|
8
|
-
else
|
9
|
-
assert_kind_of(Gdk::Pixbuf, mapping.image)
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
def test_render_to_pixbuf
|
14
|
-
only_old_poppler_version(0, 17, 0)
|
15
|
-
|
16
|
-
document = Poppler::Document.new(image_pdf)
|
17
|
-
page = document[0]
|
18
|
-
width, height = page.size
|
19
|
-
pixbuf = Gdk::Pixbuf.new(Gdk::Pixbuf::COLORSPACE_RGB, true, 8,
|
20
|
-
width / 2, height / 2)
|
21
|
-
pixbuf.fill!(0)
|
22
|
-
assert_equal("\0" * 10, pixbuf.pixels[0, 10])
|
23
|
-
page.render(0, 0, width, height, 0.5, 0, pixbuf)
|
24
|
-
assert_not_equal("\0" * 10, pixbuf.pixels[0, 10])
|
25
|
-
end
|
26
|
-
|
27
|
-
def test_render_to_pixbuf_for_printing
|
28
|
-
only_poppler_version(0, 7, 2)
|
29
|
-
only_old_poppler_version(0, 17, 0)
|
30
|
-
|
31
|
-
document = Poppler::Document.new(image_pdf)
|
32
|
-
page = document[0]
|
33
|
-
width, height = page.size
|
34
|
-
pixbuf = Gdk::Pixbuf.new(Gdk::Pixbuf::COLORSPACE_RGB, true, 8,
|
35
|
-
width / 2, height / 2)
|
36
|
-
pixbuf.fill!(0)
|
37
|
-
assert_equal("\0" * 10, pixbuf.pixels[0, 10])
|
38
|
-
page.render_for_printing(0, 0, width, height, 0.5, 0, pixbuf)
|
39
|
-
assert_not_equal("\0" * 10, pixbuf.pixels[0, 10])
|
40
|
-
end
|
41
|
-
|
42
|
-
def test_thumbnail_pixbuf
|
43
|
-
omit("We doesn't have a PDF that has a thumbnail...")
|
44
|
-
document = Poppler::Document.new(thumbnail_pdf)
|
45
|
-
page = document[0]
|
46
|
-
assert_kind_of(Gdk::Pixbuf, page.thumbnail_pixbuf)
|
6
|
+
assert_kind_of(Cairo::ImageSurface, page.get_image(mapping.image_id))
|
7
|
+
assert_kind_of(Cairo::ImageSurface, mapping.image)
|
47
8
|
end
|
48
9
|
|
49
10
|
def test_selection_region
|
metadata
CHANGED
@@ -1,222 +1,185 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: poppler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 1.2.1
|
11
6
|
platform: x86-mingw32
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- The Ruby-GNOME2 Project Team
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
name: gtk2
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 29
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 2
|
32
|
-
- 1
|
33
|
-
version: 1.2.1
|
34
|
-
type: :runtime
|
35
|
-
version_requirements: *id001
|
12
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
36
14
|
description: Ruby/Poppler is a Ruby binding of poppler-glib.
|
37
15
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
38
16
|
executables: []
|
39
|
-
|
40
17
|
extensions: []
|
41
|
-
|
42
18
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
19
|
+
files:
|
45
20
|
- README
|
46
21
|
- Rakefile
|
47
22
|
- extconf.rb
|
48
23
|
- lib/poppler.rb
|
49
|
-
- ext/poppler/
|
50
|
-
- ext/poppler/
|
24
|
+
- ext/poppler/depend
|
25
|
+
- ext/poppler/extconf.rb
|
26
|
+
- ext/poppler/poppler.def
|
27
|
+
- ext/poppler/rbpoppler-action.c
|
28
|
+
- ext/poppler/rbpoppler-annotation.c
|
51
29
|
- ext/poppler/rbpoppler-annotationcalloutline.c
|
30
|
+
- ext/poppler/rbpoppler-annotationfreetext.c
|
31
|
+
- ext/poppler/rbpoppler-annotationmapping.c
|
32
|
+
- ext/poppler/rbpoppler-annotationmarkup.c
|
52
33
|
- ext/poppler/rbpoppler-annotationtext.c
|
53
|
-
- ext/poppler/rbpoppler-
|
54
|
-
- ext/poppler/rbpoppler-
|
55
|
-
- ext/poppler/rbpoppler.h
|
56
|
-
- ext/poppler/rbpoppler.c
|
57
|
-
- ext/poppler/rbpoppler-psfile.c
|
34
|
+
- ext/poppler/rbpoppler-attachment.c
|
35
|
+
- ext/poppler/rbpoppler-buttonfield.c
|
58
36
|
- ext/poppler/rbpoppler-choicefield.c
|
37
|
+
- ext/poppler/rbpoppler-color.c
|
38
|
+
- ext/poppler/rbpoppler-document.c
|
39
|
+
- ext/poppler/rbpoppler-fontinfo.c
|
59
40
|
- ext/poppler/rbpoppler-fontsiter.c
|
60
|
-
- ext/poppler/rbpoppler-pagetransition.c
|
61
|
-
- ext/poppler/rbpoppler-page.c
|
62
|
-
- ext/poppler/extconf.rb
|
63
|
-
- ext/poppler/rbpoppler-rectangle.c
|
64
41
|
- ext/poppler/rbpoppler-form-field.c
|
65
|
-
- ext/poppler/rbpoppler-annotationmapping.c
|
66
|
-
- ext/poppler/rbpoppler-action.c
|
67
|
-
- ext/poppler/rbpoppler-imagemapping.c
|
68
42
|
- ext/poppler/rbpoppler-formfieldmapping.c
|
69
|
-
- ext/poppler/rbpoppler-
|
43
|
+
- ext/poppler/rbpoppler-imagemapping.c
|
44
|
+
- ext/poppler/rbpoppler-indexiter.c
|
45
|
+
- ext/poppler/rbpoppler-linkmapping.c
|
46
|
+
- ext/poppler/rbpoppler-page.c
|
47
|
+
- ext/poppler/rbpoppler-pagetransition.c
|
70
48
|
- ext/poppler/rbpoppler-private.h
|
49
|
+
- ext/poppler/rbpoppler-psfile.c
|
50
|
+
- ext/poppler/rbpoppler-rectangle.c
|
71
51
|
- ext/poppler/rbpoppler-textfield.c
|
72
|
-
- ext/poppler/rbpoppler
|
73
|
-
- ext/poppler/
|
52
|
+
- ext/poppler/rbpoppler.c
|
53
|
+
- ext/poppler/rbpoppler.h
|
74
54
|
- ext/poppler/rbpopplerconversions.h
|
75
|
-
-
|
76
|
-
-
|
77
|
-
- ext/poppler/rbpoppler-document.c
|
78
|
-
- ext/poppler/rbpoppler-color.c
|
79
|
-
- ext/poppler/rbpoppler-indexiter.c
|
55
|
+
- sample/number-pdf.rb
|
56
|
+
- sample/pdf2.rb
|
80
57
|
- sample/pdf2svg.rb
|
81
58
|
- sample/pdf2text.rb
|
82
|
-
- sample/pdf2.rb
|
83
59
|
- sample/pdfcrop.rb
|
84
|
-
- sample/number-pdf.rb
|
85
60
|
- sample/pdfdiv.rb
|
86
|
-
- test/
|
61
|
+
- test/fixtures/image.pdf
|
87
62
|
- test/poppler-test-utils.rb
|
88
|
-
- test/test_page.rb
|
89
63
|
- test/run-test.rb
|
90
|
-
- test/
|
64
|
+
- test/test_annotation.rb
|
91
65
|
- test/test_color.rb
|
92
66
|
- test/test_constants.rb
|
93
|
-
- test/
|
94
|
-
-
|
67
|
+
- test/test_document.rb
|
68
|
+
- test/test_page.rb
|
95
69
|
- lib/1.9/poppler.so
|
96
|
-
-
|
97
|
-
- vendor/local/
|
98
|
-
- vendor/local/
|
99
|
-
- vendor/local/
|
100
|
-
- vendor/local/
|
101
|
-
- vendor/local/
|
102
|
-
- vendor/local/
|
103
|
-
- vendor/local/
|
70
|
+
- lib/2.0/poppler.so
|
71
|
+
- vendor/local/bin/cjpeg.exe
|
72
|
+
- vendor/local/bin/djpeg.exe
|
73
|
+
- vendor/local/bin/jpegtran.exe
|
74
|
+
- vendor/local/bin/libgcc_s_dw2-1.dll
|
75
|
+
- vendor/local/bin/libjpeg-7.dll
|
76
|
+
- vendor/local/bin/libpng12-0.dll
|
77
|
+
- vendor/local/bin/libpoppler-5.dll
|
78
|
+
- vendor/local/bin/libpoppler-glib-4.dll
|
79
|
+
- vendor/local/bin/pdffonts.exe
|
80
|
+
- vendor/local/bin/pdfimages.exe
|
81
|
+
- vendor/local/bin/pdfinfo.exe
|
82
|
+
- vendor/local/bin/pdftohtml.exe
|
83
|
+
- vendor/local/bin/pdftotext.exe
|
84
|
+
- vendor/local/bin/rdjpgcom.exe
|
85
|
+
- vendor/local/bin/wrjpgcom.exe
|
86
|
+
- vendor/local/include/jconfig.h
|
87
|
+
- vendor/local/include/jerror.h
|
88
|
+
- vendor/local/include/jmorecfg.h
|
89
|
+
- vendor/local/include/jpeglib.h
|
90
|
+
- vendor/local/include/libpng12/png.h
|
91
|
+
- vendor/local/include/libpng12/pngconf.h
|
92
|
+
- vendor/local/include/png.h
|
93
|
+
- vendor/local/include/pngconf.h
|
94
|
+
- vendor/local/include/poppler/glib/poppler-action.h
|
95
|
+
- vendor/local/include/poppler/glib/poppler-annot.h
|
96
|
+
- vendor/local/include/poppler/glib/poppler-attachment.h
|
97
|
+
- vendor/local/include/poppler/glib/poppler-date.h
|
98
|
+
- vendor/local/include/poppler/glib/poppler-document.h
|
99
|
+
- vendor/local/include/poppler/glib/poppler-enums.h
|
100
|
+
- vendor/local/include/poppler/glib/poppler-features.h
|
101
|
+
- vendor/local/include/poppler/glib/poppler-form-field.h
|
102
|
+
- vendor/local/include/poppler/glib/poppler-layer.h
|
103
|
+
- vendor/local/include/poppler/glib/poppler-page.h
|
104
|
+
- vendor/local/include/poppler/glib/poppler.h
|
105
|
+
- vendor/local/lib/libjpeg.dll.a
|
106
|
+
- vendor/local/lib/libpng.def
|
107
|
+
- vendor/local/lib/libpng.lib
|
108
|
+
- vendor/local/lib/libpng12.dll.a
|
109
|
+
- vendor/local/lib/libpoppler-glib.dll.a
|
110
|
+
- vendor/local/lib/libpoppler.dll.a
|
111
|
+
- vendor/local/lib/pkgconfig/libpng.pc
|
112
|
+
- vendor/local/lib/pkgconfig/libpng12.pc
|
113
|
+
- vendor/local/lib/pkgconfig/poppler-glib.pc
|
114
|
+
- vendor/local/lib/pkgconfig/poppler-splash.pc
|
115
|
+
- vendor/local/lib/pkgconfig/poppler.pc
|
116
|
+
- vendor/local/manifest/jpeg-dev_7-1_win32.mft
|
117
|
+
- vendor/local/manifest/jpeg_7-1_win32.mft
|
118
|
+
- vendor/local/manifest/libpng-dev_1.2.40-1_win32.mft
|
119
|
+
- vendor/local/manifest/libpng_1.2.40-1_win32.mft
|
120
|
+
- vendor/local/manifest/poppler-dev_0.12.0-1_win32.mft
|
121
|
+
- vendor/local/manifest/poppler_0.12.0-1_win32.mft
|
104
122
|
- vendor/local/share/gtk-doc/html/poppler/ch01.html
|
105
|
-
- vendor/local/share/gtk-doc/html/poppler/
|
106
|
-
- vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2
|
107
|
-
- vendor/local/share/gtk-doc/html/poppler/style.css
|
108
|
-
- vendor/local/share/gtk-doc/html/poppler/index.sgml
|
123
|
+
- vendor/local/share/gtk-doc/html/poppler/home.png
|
109
124
|
- vendor/local/share/gtk-doc/html/poppler/index.html
|
110
|
-
- vendor/local/share/gtk-doc/html/poppler/
|
125
|
+
- vendor/local/share/gtk-doc/html/poppler/index.sgml
|
126
|
+
- vendor/local/share/gtk-doc/html/poppler/left.png
|
111
127
|
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-action.html
|
112
128
|
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-annot.html
|
113
|
-
- vendor/local/share/gtk-doc/html/poppler/
|
114
|
-
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-page.html
|
115
|
-
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html
|
129
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-attachment.html
|
116
130
|
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-document.html
|
117
131
|
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-enums.html
|
118
|
-
- vendor/local/share/gtk-doc/html/poppler/
|
132
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-features.html
|
133
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-form-field.html
|
134
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-layer.html
|
135
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler-page.html
|
136
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html
|
137
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler.devhelp
|
138
|
+
- vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2
|
119
139
|
- vendor/local/share/gtk-doc/html/poppler/right.png
|
120
|
-
- vendor/local/share/
|
121
|
-
- vendor/local/share/
|
122
|
-
- vendor/local/share/man/
|
123
|
-
- vendor/local/share/man/man1/
|
140
|
+
- vendor/local/share/gtk-doc/html/poppler/style.css
|
141
|
+
- vendor/local/share/gtk-doc/html/poppler/up.png
|
142
|
+
- vendor/local/share/man/man1/cjpeg.1
|
143
|
+
- vendor/local/share/man/man1/djpeg.1
|
144
|
+
- vendor/local/share/man/man1/jpegtran.1
|
124
145
|
- vendor/local/share/man/man1/pdffonts.1
|
146
|
+
- vendor/local/share/man/man1/pdfimages.1
|
125
147
|
- vendor/local/share/man/man1/pdfinfo.1
|
126
|
-
- vendor/local/share/man/man1/djpeg.1
|
127
|
-
- vendor/local/share/man/man1/wrjpgcom.1
|
128
148
|
- vendor/local/share/man/man1/pdftohtml.1
|
129
149
|
- vendor/local/share/man/man1/pdftoppm.1
|
130
150
|
- vendor/local/share/man/man1/pdftops.1
|
131
|
-
- vendor/local/share/man/man1/pdfimages.1
|
132
151
|
- vendor/local/share/man/man1/pdftotext.1
|
133
|
-
- vendor/local/share/man/man1/
|
134
|
-
- vendor/local/share/man/man1/
|
135
|
-
- vendor/local/
|
136
|
-
- vendor/local/
|
137
|
-
- vendor/local/
|
138
|
-
- vendor/local/
|
139
|
-
- vendor/local/
|
140
|
-
- vendor/local/
|
141
|
-
- vendor/local/
|
142
|
-
- vendor/local/bin/libjpeg-7.dll
|
143
|
-
- vendor/local/bin/pdffonts.exe
|
144
|
-
- vendor/local/bin/libpoppler-glib-4.dll
|
145
|
-
- vendor/local/bin/rdjpgcom.exe
|
146
|
-
- vendor/local/bin/libpoppler-5.dll
|
147
|
-
- vendor/local/bin/cjpeg.exe
|
148
|
-
- vendor/local/bin/djpeg.exe
|
149
|
-
- vendor/local/bin/pdftotext.exe
|
150
|
-
- vendor/local/bin/libgcc_s_dw2-1.dll
|
151
|
-
- vendor/local/bin/wrjpgcom.exe
|
152
|
-
- vendor/local/bin/pdfimages.exe
|
153
|
-
- vendor/local/bin/pdftohtml.exe
|
154
|
-
- vendor/local/bin/libpng12-0.dll
|
155
|
-
- vendor/local/bin/pdfinfo.exe
|
156
|
-
- vendor/local/lib/libpng12.dll.a
|
157
|
-
- vendor/local/lib/libpoppler.dll.a
|
158
|
-
- vendor/local/lib/libpoppler-glib.dll.a
|
159
|
-
- vendor/local/lib/libpng.lib
|
160
|
-
- vendor/local/lib/pkgconfig/libpng12.pc
|
161
|
-
- vendor/local/lib/pkgconfig/libpng.pc
|
162
|
-
- vendor/local/lib/pkgconfig/poppler-glib.pc
|
163
|
-
- vendor/local/lib/pkgconfig/poppler.pc
|
164
|
-
- vendor/local/lib/pkgconfig/poppler-splash.pc
|
165
|
-
- vendor/local/lib/libjpeg.dll.a
|
166
|
-
- vendor/local/lib/libpng.def
|
167
|
-
- vendor/local/include/poppler/glib/poppler-action.h
|
168
|
-
- vendor/local/include/poppler/glib/poppler.h
|
169
|
-
- vendor/local/include/poppler/glib/poppler-page.h
|
170
|
-
- vendor/local/include/poppler/glib/poppler-form-field.h
|
171
|
-
- vendor/local/include/poppler/glib/poppler-document.h
|
172
|
-
- vendor/local/include/poppler/glib/poppler-date.h
|
173
|
-
- vendor/local/include/poppler/glib/poppler-attachment.h
|
174
|
-
- vendor/local/include/poppler/glib/poppler-annot.h
|
175
|
-
- vendor/local/include/poppler/glib/poppler-layer.h
|
176
|
-
- vendor/local/include/poppler/glib/poppler-enums.h
|
177
|
-
- vendor/local/include/poppler/glib/poppler-features.h
|
178
|
-
- vendor/local/include/png.h
|
179
|
-
- vendor/local/include/jpeglib.h
|
180
|
-
- vendor/local/include/jmorecfg.h
|
181
|
-
- vendor/local/include/pngconf.h
|
182
|
-
- vendor/local/include/libpng12/png.h
|
183
|
-
- vendor/local/include/libpng12/pngconf.h
|
184
|
-
- vendor/local/include/jconfig.h
|
185
|
-
- vendor/local/include/jerror.h
|
152
|
+
- vendor/local/share/man/man1/rdjpgcom.1
|
153
|
+
- vendor/local/share/man/man1/wrjpgcom.1
|
154
|
+
- vendor/local/share/man/man3/libpng.3
|
155
|
+
- vendor/local/share/man/man3/libpngpf.3
|
156
|
+
- vendor/local/share/man/man5/png.5
|
157
|
+
- vendor/local/src/tml/packaging/jpeg_7-1_win32.log
|
158
|
+
- vendor/local/src/tml/packaging/jpeg_7-1_win32.sh
|
159
|
+
- vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.log
|
160
|
+
- vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.sh
|
186
161
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
187
162
|
licenses: []
|
188
|
-
|
189
163
|
post_install_message:
|
190
164
|
rdoc_options: []
|
191
|
-
|
192
|
-
require_paths:
|
165
|
+
require_paths:
|
193
166
|
- lib
|
194
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
195
168
|
none: false
|
196
|
-
requirements:
|
197
|
-
- -
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
hash: 61
|
200
|
-
segments:
|
201
|
-
- 1
|
202
|
-
- 8
|
203
|
-
- 5
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
204
172
|
version: 1.8.5
|
205
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
174
|
none: false
|
207
|
-
requirements:
|
208
|
-
- -
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
|
211
|
-
segments:
|
212
|
-
- 0
|
213
|
-
version: "0"
|
175
|
+
requirements:
|
176
|
+
- - ! '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
214
179
|
requirements: []
|
215
|
-
|
216
180
|
rubyforge_project:
|
217
|
-
rubygems_version: 1.8.
|
181
|
+
rubygems_version: 1.8.23
|
218
182
|
signing_key:
|
219
183
|
specification_version: 3
|
220
184
|
summary: Ruby/Poppler is a Ruby binding of poppler-glib.
|
221
185
|
test_files: []
|
222
|
-
|
data/lib/1.8/poppler.so
DELETED
Binary file
|