Method: PDF::Reader::Turtletext#y_precision

Defined in:
lib/pdf/reader/turtletext.rb

#y_precisionObject

Returns the precision required in y positions. This is the fuzz range for interpreting y positions. Lines with y positions +/- y_precision will be merged together. This helps align text correctly which may visually appear on the same line, but is actually off by a few pixels.



31
32
33
# File 'lib/pdf/reader/turtletext.rb', line 31

def y_precision
  options[:y_precision] ||= 3
end