fixed bbox calculation of characters without a path
[swftools.git] / spec / textarea.spec.rb
blobdf269d7b35ed7a3d9b4ec1ff85205ab7cfde88c5
1 require File.dirname(__FILE__) + '/spec_helper'
3 describe "pdf conversion" do
5   convert_file "textarea.pdf" do
6     area_at(460,94,610,106).should_contain_text '97924ff65f9dfc75450ba'
7     area_at(467,373,525,384).should_contain_text '29cf24e47'
8     area_at(474,592,543,601).should_contain_text '0afa27099a'
9     area_at(59,798,131,808).should_contain_text '4c28e489b4'
10   end
11 end