fix for x-mirrored text
[swftools.git] / spec / simpletext.spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "pdf conversion" do  
4
5   convert_file "simpletext.pdf" do
6     pixel_at(109,133).should_be_of_color 0x000000
7     pixel_at(154,139).should_be_brighter_than pixel_at(151,139)
8     pixel_at(53,136).should_be_darker_than pixel_at(58,166)
9     pixel_at(97,164).should_be_the_same_as pixel_at(208,256)
10     area_at(215,80,333,156).should_be_plain_colored
11     area_at(46,126,180,158).should_not_be_plain_colored
12     area_at(38,118,170,152).should_contain_text 'Hello World'
13   end
14 end