# File lib/pdf/writer.rb, line 2446 2446: def lines_remaining(font_size = nil) 2447: font_size ||= @font_size 2448: remaining = @y - @bottom_margin 2449: remaining / font_height(font_size).to_f 2450: end