fix for x-mirrored text
[swftools.git] / spec / gradients.spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "pdf conversion" do
4
5   convert_file "gradients.pdf" do
6     pixel_at(269,324).should_be_brighter_than pixel_at(155,438)
7     pixel_at(261,388).should_be_brighter_than pixel_at(209,434)
8     pixel_at(195,329).should_be_brighter_than pixel_at(164,367)
9     pixel_at(33,318).should_be_brighter_than pixel_at(92,381)
10     pixel_at(168,310).should_be_brighter_than pixel_at(108,381)
11     pixel_at(166,455).should_be_brighter_than pixel_at(109,401)
12     pixel_at(25,454).should_be_brighter_than pixel_at(89,396)
13     pixel_at(258,210).should_be_brighter_than pixel_at(90,215)
14     pixel_at(259,225).should_be_brighter_than pixel_at(95,227)
15     pixel_at(257,240).should_be_brighter_than pixel_at(102,240)
16     pixel_at(359,121).should_be_brighter_than pixel_at(360,270)
17     pixel_at(383,119).should_be_brighter_than pixel_at(385,181)
18     pixel_at(373,167).should_be_brighter_than pixel_at(373,239)
19     pixel_at(355,409).should_be_brighter_than pixel_at(356,349)
20     pixel_at(370,377).should_be_brighter_than pixel_at(369,316)
21     pixel_at(382,333).should_be_brighter_than pixel_at(383,286)
22     pixel_at(422,115).should_be_brighter_than pixel_at(422,411)
23     pixel_at(437,190).should_be_brighter_than pixel_at(436,318)
24     pixel_at(447,276).should_be_brighter_than pixel_at(446,413)
25     pixel_at(413,101).should_be_the_same_as pixel_at(448,101)
26     pixel_at(412,166).should_be_the_same_as pixel_at(449,166)
27     pixel_at(412,246).should_be_the_same_as pixel_at(450,246)
28     pixel_at(413,332).should_be_the_same_as pixel_at(450,332)
29     pixel_at(414,400).should_be_the_same_as pixel_at(451,400)
30     pixel_at(87,245).should_be_the_same_as pixel_at(87,212)
31     pixel_at(143,245).should_be_the_same_as pixel_at(143,209)
32     pixel_at(189,246).should_be_the_same_as pixel_at(189,210)
33     pixel_at(236,244).should_be_the_same_as pixel_at(236,208)
34   end
35 end