# File lib/pdf/writer.rb, line 2009
2009:   def stop_columns
2010:     return false unless @columns_on
2011:     @columns_on = false
2012: 
2013:     @columns[:bot_y] = @y if @y < @columns[:bot_y]
2014: 
2015:     if (@columns[:bot_y] > @bottom_margin) or @column_number == 1
2016:       @y = @columns[:bot_y]
2017:     else
2018:       start_new_page
2019:     end
2020:     restore_margins_after_columns
2021:     @columns = {}
2022:     true
2023:   end