From cfe0a8802af2b20f21daed2968e3e0bed3e31b28 Mon Sep 17 00:00:00 2001 From: "Gun.io Whitespace Robot" Date: Mon, 31 Oct 2011 07:40:39 -0400 Subject: [PATCH] Remove whitespace [Gun.io WhitespaceBot] --- Rakefile | 2 +- TODO | 6 +- lib/pdf/reader.rb | 16 ++-- lib/pdf/reader/content.rb | 2 +- lib/pdf/reader/glyphlist.txt | 6 +- lib/pdf/reader/register_receiver.rb | 2 +- lib/pdf/reader/text_receiver.rb | 6 +- specs/buffer_spec.rb | 2 +- specs/cmap_spec.rb | 2 +- specs/content_spec.rb | 8 +- specs/data/cmap_with_bfrange.txt | 2 +- specs/encoding_spec.rb | 134 ++++++++++++++-------------- specs/hash_spec.rb | 6 +- specs/meta_spec.rb | 2 +- 14 files changed, 98 insertions(+), 98 deletions(-) diff --git a/Rakefile b/Rakefile index fdb2c2c7..f6ce3dbd 100644 --- a/Rakefile +++ b/Rakefile @@ -53,7 +53,7 @@ Rake::RDocTask.new("doc") do |rdoc| rdoc.options << "--inline-source" end -# a gemspec for packaging this library +# a gemspec for packaging this library # RSpec files aren't included, as they depend on the PDF files, # which will make the gem filesize irritatingly large spec = Gem::Specification.new do |spec| diff --git a/TODO b/TODO index cebc02e5..90109538 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,7 @@ v0.8 - optimise PDF::Reader::Reference#from_buffer - ruby-prof shows the match() call in this function is a real killer - add extra callbacks - - list implemented features + - list implemented features - encrypted? tagged? bookmarks? annotated? optimised? - Allow more than just page content and metadata to be parsed (see spec section 3.6.1) - bookmarks? @@ -33,12 +33,12 @@ Sometime - Ship some extra receivers in the standard package, particuarly ones that are useful for running rspec over generated PDF files -- When we encounter Identity-H encoded text with no ToUnicode CMap, render the glyphs and treat them as images, as there's no +- When we encounter Identity-H encoded text with no ToUnicode CMap, render the glyphs and treat them as images, as there's no sensible way to convert them to unicode - Add support for additional filters: ASCIIHexDecode, ASCII85Decode, LZWDecode, RunLengthDecode, CCITTFaxDecode, JBIG2Decode, DCTDecode, JPXDecode, Crypt? -- Add support for additional encodings: +- Add support for additional encodings: - PDFDocEncoding - Identity-V(I *think* this relates to vertical text. Not sure how we'd support it sensibly) diff --git a/lib/pdf/reader.rb b/lib/pdf/reader.rb index 840bcf44..7d22aef6 100644 --- a/lib/pdf/reader.rb +++ b/lib/pdf/reader.rb @@ -9,10 +9,10 @@ # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: -# +# # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -# +# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND @@ -37,26 +37,26 @@ module PDF # on receivers. # # = Parsing a file - # + # # PDF::Reader.file("somefile.pdf", receiver) # # = Parsing a String - # + # # This is useful for processing a PDF that is already in memory # # PDF::Reader.string(pdf_string, receiver) # # = Parsing an IO object - # + # # This can be a useful alternative to the first 2 options in some situations # # pdf = PDF::Reader.new # pdf.parse(File.new("somefile.pdf"), receiver) # # = Parsing parts of a file - # + # # Both PDF::Reader#file and PDF::Reader#string accept a 3 argument that specifies which - # parts of the file to process. By default, all options are enabled, so this can be useful + # parts of the file to process. By default, all options are enabled, so this can be useful # to cut down processing time if you're only interested in say, metadata. # # As an example, the following call will disable parsing the contents of pages in the file, @@ -65,7 +65,7 @@ module PDF # PDF::Reader.new("somefile.pdf", receiver, {:metadata => true, :pages => false}) # # Available options are currently: - # + # # :metadata # :pages class Reader diff --git a/lib/pdf/reader/content.rb b/lib/pdf/reader/content.rb index 70fff853..d4c72cde 100644 --- a/lib/pdf/reader/content.rb +++ b/lib/pdf/reader/content.rb @@ -314,7 +314,7 @@ def walk_pages (page) contents.each do |content| obj = @xref.object(content) content_stream(obj, fonts) - end + end end resources.pop if res diff --git a/lib/pdf/reader/glyphlist.txt b/lib/pdf/reader/glyphlist.txt index 0304ffc6..bd455306 100644 --- a/lib/pdf/reader/glyphlist.txt +++ b/lib/pdf/reader/glyphlist.txt @@ -1,6 +1,6 @@ # ################################################################################### # Copyright (c) 1997,1998,2002,2007 Adobe Systems Incorporated -# +# # Permission is hereby granted, free of charge, to any person obtaining a # copy of this documentation file to use, copy, publish, distribute, # sublicense, and/or sell copies of the documentation, and to permit @@ -9,14 +9,14 @@ # allowed; and # - The above copyright notice and this permission notice shall be # included in all copies of the documentation. -# +# # Permission is hereby granted, free of charge, to any person obtaining a # copy of this documentation file, to create their own derivative works # from the content of this document to use, copy, publish, distribute, # sublicense, and/or sell the derivative works, and to permit others to do # the same, provided that the derived work is not represented as being a # copy or version of this document. -# +# # Adobe shall not be liable to any party for any loss of revenue or profit # or for indirect, incidental, special, consequential, or other similar # damages, whether based on tort (including without limitation negligence diff --git a/lib/pdf/reader/register_receiver.rb b/lib/pdf/reader/register_receiver.rb index c593846d..51916fe0 100644 --- a/lib/pdf/reader/register_receiver.rb +++ b/lib/pdf/reader/register_receiver.rb @@ -64,7 +64,7 @@ def series(*methods) match = idx and break if count == 0 end - if match + if match return callbacks[match, methods.size] else return nil diff --git a/lib/pdf/reader/text_receiver.rb b/lib/pdf/reader/text_receiver.rb index 40edb72c..72c02ad0 100644 --- a/lib/pdf/reader/text_receiver.rb +++ b/lib/pdf/reader/text_receiver.rb @@ -9,10 +9,10 @@ # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: -# +# # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -# +# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND @@ -156,7 +156,7 @@ def super_show_text (string) x = (@tm[2,0]/TS_UNITS_PER_H_CHAR).to_i y = (ury - (@tm[2,1]/TS_UNITS_PER_V_CHAR)).to_i - + #puts "rendering '#{string}' to #{x}x#{y}" place = (@output[y] ||= (" " * urx.to_i)) diff --git a/specs/buffer_spec.rb b/specs/buffer_spec.rb index edc3c596..bea4ba88 100644 --- a/specs/buffer_spec.rb +++ b/specs/buffer_spec.rb @@ -135,7 +135,7 @@ buf.token.should eql("James \\(Code Monkey") buf.token.should eql(")") end - + specify "should correctly return an indirect reference" do buf = parse_string("aaa 1 0 R bbb") diff --git a/specs/cmap_spec.rb b/specs/cmap_spec.rb index 4dc5d4d7..3214bfc6 100644 --- a/specs/cmap_spec.rb +++ b/specs/cmap_spec.rb @@ -40,7 +40,7 @@ class PDF::Reader::CMap map = PDF::Reader::CMap.new(File.read(filename)) map.decode(0x0100).should eql(0x0100) # mapped with the bfrange operator end - + specify "should correctly load a cmap that uses the beginbfrange operator with the array syntax" do filename = File.dirname(__FILE__) + "/data/cmap_with_bfrange_three.txt" map = PDF::Reader::CMap.new(File.read(filename)) diff --git a/specs/content_spec.rb b/specs/content_spec.rb index 2a50b359..ea4c0e2b 100644 --- a/specs/content_spec.rb +++ b/specs/content_spec.rb @@ -16,7 +16,7 @@ class PDF::Reader::XRef # the content class correctly recognises all instructions receiver = mock("receiver") receiver.should_receive(:begin_text_object).once # BT - receiver.should_receive(:move_text_position).once # Td + receiver.should_receive(:move_text_position).once # Td receiver.should_receive(:set_text_font_and_size).once # Tf receiver.should_receive(:set_text_rendering_mode).once # Tr receiver.should_receive(:show_text).once # Tj @@ -27,7 +27,7 @@ class PDF::Reader::XRef # process the instructions content = PDF::Reader::Content.new(receiver, nil) - content.content_stream(instructions) + content.content_stream(instructions) end specify "should send the correct callbacks when processing instructions containing 2 text blocks" do @@ -36,7 +36,7 @@ class PDF::Reader::XRef # the content class correctly recognises all instructions receiver = mock("receiver") receiver.should_receive(:begin_text_object).twice # BT - receiver.should_receive(:move_text_position).twice # Td + receiver.should_receive(:move_text_position).twice # Td receiver.should_receive(:set_text_font_and_size).twice # Tf receiver.should_receive(:set_text_rendering_mode).twice # Tr receiver.should_receive(:show_text).twice # Tj @@ -47,7 +47,7 @@ class PDF::Reader::XRef # process the instructions content = PDF::Reader::Content.new(receiver, nil) - content.content_stream(instructions) + content.content_stream(instructions) end specify "should send the correct callbacks when processing instructions containing an inline image" do diff --git a/specs/data/cmap_with_bfrange.txt b/specs/data/cmap_with_bfrange.txt index 24a3109d..d9b8b61d 100644 --- a/specs/data/cmap_with_bfrange.txt +++ b/specs/data/cmap_with_bfrange.txt @@ -1,4 +1,4 @@ -/CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << +/CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TT1+0) /Ordering (T42UV) /Supplement 0 >> def /CMapName /TT1+0 def /CMapType 2 def diff --git a/specs/encoding_spec.rb b/specs/encoding_spec.rb index 74354d48..5c65e7f8 100644 --- a/specs/encoding_spec.rb +++ b/specs/encoding_spec.rb @@ -74,15 +74,15 @@ class PDF::Reader::Encoding {:expert => "\x22", :utf8 => ""}, {:expert => "\x22\xF7", :utf8 => [0x25AF].pack("U*")}, {:expert => "\x22\xF7\x22\xF7", :utf8 => [0x25AF,0x25AF].pack("U*")} - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:expert]) if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") vals[:utf8].force_encoding("UTF-8") end - - result.should eql(vals[:utf8]) + + result.should eql(vals[:utf8]) end end @@ -91,7 +91,7 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x00\x01\x00\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" @@ -110,7 +110,7 @@ class PDF::Reader::Encoding {:expert => "\x62", :utf8 => [0xF762].pack("U*")}, {:expert => "\xBE", :utf8 => [0xF7E6].pack("U*")}, {:expert => "\xF7", :utf8 => [0xF6EF].pack("U*")} - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:expert]) if RUBY_VERSION >= "1.9" @@ -118,7 +118,7 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) + result.should eql(vals[:utf8]) end end @@ -127,8 +127,8 @@ class PDF::Reader::Encoding e.differences = [0xEE, :A] [ {:mac => "\x22\xEE", :utf8 => [0xF6F8, 0x41].pack("U*")} - ].each do |vals| - + ].each do |vals| + result = e.to_utf8(vals[:mac]) if RUBY_VERSION >= "1.9" @@ -136,8 +136,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -146,13 +146,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -169,10 +169,10 @@ class PDF::Reader::Encoding {:mac => "\xD8", :utf8 => "\xC3\xBF"}, # ÿ sign {:mac => "\xE4", :utf8 => "\xE2\x80\xB0"}, # ‰ sign {:mac => "\xFD", :utf8 => "\xCB\x9D"} # ˝ sign - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:mac]) - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end @@ -184,8 +184,8 @@ class PDF::Reader::Encoding e.differences = [0xEE, :A] [ {:mac => "\x24\xEE", :utf8 => [0x24, 0x41].pack("U*")}, # dollar sign, A - ].each do |vals| - + ].each do |vals| + result = e.to_utf8(vals[:mac]) if RUBY_VERSION >= "1.9" @@ -193,8 +193,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -203,13 +203,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -222,7 +222,7 @@ class PDF::Reader::Encoding {:pdf => "\x62", :utf8 => [0x62].pack("U*")}, {:pdf => "\xA0", :utf8 => [0x20AC].pack("U*")}, {:pdf => "\x94", :utf8 => [0xFB02].pack("U*")} - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:pdf]) if RUBY_VERSION >= "1.9" @@ -230,7 +230,7 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) + result.should eql(vals[:utf8]) end end @@ -239,8 +239,8 @@ class PDF::Reader::Encoding e.differences = [0xEE, :A] [ {:pdf => "\x22\xEE", :utf8 => [0x22, 0x41].pack("U*")} - ].each do |vals| - + ].each do |vals| + result = e.to_utf8(vals[:pdf]) if RUBY_VERSION >= "1.9" @@ -248,8 +248,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -258,13 +258,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -280,7 +280,7 @@ class PDF::Reader::Encoding {:standard => "\xA4", :utf8 => [0x2044].pack("U*")}, # fraction sign {:standard => "\xBD", :utf8 => [0x2030].pack("U*")}, # per mile sign {:standard => "\xFA", :utf8 => [0x0153].pack("U*")} - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:standard]) if RUBY_VERSION >= "1.9" @@ -288,8 +288,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -298,8 +298,8 @@ class PDF::Reader::Encoding e.differences = [0xEE, :A] [ {:std => "\x60\xEE", :utf8 => [0x2018, 0x41].pack("U*")}, # ", A - ].each do |vals| - + ].each do |vals| + result = e.to_utf8(vals[:std]) if RUBY_VERSION >= "1.9" @@ -307,8 +307,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -317,13 +317,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -337,7 +337,7 @@ class PDF::Reader::Encoding {:symbol => "\x47", :utf8 => [0x0393].pack("U*")}, # gamma {:symbol => "123", :utf8 => "123"}, {:symbol => "\xA0", :utf8 => [0x20AC].pack("U*")}, # € sign - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:symbol]) if RUBY_VERSION >= "1.9" @@ -345,8 +345,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -355,8 +355,8 @@ class PDF::Reader::Encoding e.differences = [0xEE, :A] [ {:symbol => "\x41\xEE", :utf8 => [0x0391, 0x41].pack("U*")}, # alpha, A - ].each do |vals| - + ].each do |vals| + result = e.to_utf8(vals[:symbol]) if RUBY_VERSION >= "1.9" @@ -364,8 +364,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -374,13 +374,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -397,16 +397,16 @@ class PDF::Reader::Encoding {:win => "\x82", :utf8 => "\xE2\x80\x9A"}, # ‚ sign {:win => "\x83", :utf8 => "\xC6\x92"}, # ƒ sign {:win => "\x9F", :utf8 => "\xC5\xB8"} # Ÿ sign - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:win]) - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end end end - + specify "should correctly convert various win-1252 strings when a differences table is specified" do e = PDF::Reader::Encoding.new(:WinAnsiEncoding) e.differences = [0xEE, :A] @@ -415,10 +415,10 @@ class PDF::Reader::Encoding {:win => "ABC", :utf8 => "ABC"}, {:win => "123", :utf8 => "123"}, {:win => "ABC\xEE", :utf8 => "ABCA"} - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:win]) - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end @@ -430,13 +430,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -449,7 +449,7 @@ class PDF::Reader::Encoding {:dingbats => "\x25", :utf8 => [0x260E].pack("U*")}, # telephone {:dingbats => "\xAB", :utf8 => [0x2660].pack("U*")}, # spades {:dingbats => "\xDE", :utf8 => [0x279E].pack("U*")}, # -> - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:dingbats]) if RUBY_VERSION >= "1.9" @@ -457,8 +457,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -467,8 +467,8 @@ class PDF::Reader::Encoding e.differences = [0xEE, :A] [ {:dingbats => "\x22\xEE", :utf8 => [0x2702, 0x41].pack("U*")}, # scissors - ].each do |vals| - + ].each do |vals| + result = e.to_utf8(vals[:dingbats]) if RUBY_VERSION >= "1.9" @@ -476,8 +476,8 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) - + result.should eql(vals[:utf8]) + end end @@ -486,13 +486,13 @@ class PDF::Reader::Encoding cmap = PDF::Reader::CMap.new("") cmap.instance_variable_set("@map",{1 => 0x20AC, 2 => 0x0031}) result = e.to_utf8("\x01\x02", cmap) - + result.should eql("€1") if RUBY_VERSION >= "1.9" result.encoding.to_s.should eql("UTF-8") end - + end end @@ -505,7 +505,7 @@ class PDF::Reader::Encoding {:utf16 => "\x20\x22", :utf8 => [0x2022].pack("U*")}, {:utf16 => "\x00\x41", :utf8 => [0x41].pack("U*")}, {:utf16 => "\x20\x22", :utf8 => [0x2022].pack("U*")} - ].each do |vals| + ].each do |vals| result = e.to_utf8(vals[:utf16]) if RUBY_VERSION >= "1.9" @@ -513,7 +513,7 @@ class PDF::Reader::Encoding vals[:utf8].force_encoding("UTF-8") end - result.should eql(vals[:utf8]) + result.should eql(vals[:utf8]) end end end diff --git a/specs/hash_spec.rb b/specs/hash_spec.rb index d8ad92a9..71764c23 100644 --- a/specs/hash_spec.rb +++ b/specs/hash_spec.rb @@ -107,7 +107,7 @@ h = PDF::Hash.new(filename) count = 0 - h.each do + h.each do count += 1 end count.should eql(57) @@ -131,7 +131,7 @@ h = PDF::Hash.new(filename) count = 0 - h.each_key do + h.each_key do count += 1 end count.should eql(57) @@ -154,7 +154,7 @@ h = PDF::Hash.new(filename) count = 0 - h.each_value do + h.each_value do count += 1 end count.should eql(57) diff --git a/specs/meta_spec.rb b/specs/meta_spec.rb index 99644dc5..f4f6ac23 100644 --- a/specs/meta_spec.rb +++ b/specs/meta_spec.rb @@ -5,7 +5,7 @@ # These specs are a kind of "meta spec". They're not unit testing small pieces # of code, it's just parsing a range of PDF files and ensuring the result is # consistant. An extra check to make sure parsing these files will continue -# to work for our users. +# to work for our users. # # Where possible, specs that unit test correctly should be written in prefernce to # these