# File lib/pdf/writer.rb, line 1946
1946:   def stop_columns
1947:     return false unless @columns_on
1948:     @columns_on = false
1949: 
1950:     @columns[:bot_y] = @y if @y < @columns[:bot_y]
1951: 
1952:     if (@columns[:bot_y] > @bottom_margin) or @column_number == 1
1953:       @y = @columns[:bot_y]
1954:     else
1955:       start_new_page
1956:     end
1957:     restore_margins_after_columns
1958:     @columns = {}
1959:     true
1960:   end