lib/rabbit/element/poppler-page.rb in rabbit-2.2.1 vs lib/rabbit/element/poppler-page.rb in rabbit-3.0.0
- old
+ new
@@ -22,11 +22,10 @@
def title
text.split(/\r?\n/, 2).first
end
def text
- rectangle = Poppler::Rectangle.new(0, 0, @width, @height)
- @page.get_text(rectangle)
+ @page.text
end
def clear_theme
super
@width, @height = @page.size