# File lib/pdf/writer.rb, line 2510
2510:   def lines_remaining(font_size = nil)
2511:     font_size ||= @font_size
2512:     remaining = @y - @bottom_margin
2513:     remaining / font_height(font_size).to_f
2514:   end