def draw_footer footers_to_print, source
            footers_to_print.reverse_each do |group|
                draw_line(@posY + @sections[:body][:settings][:height]/2)
                source[group][:footer].each do |field, settings|
                    settings = [settings[0], @posY, (@defaults.merge (settings[1] || { }).symbolize_keys!)]
                    settings[2][:style] = settings[2][:style].to_sym
                    set_options settings[2]
                    draw_text @footers[group][field], settings
                end
                draw_line(@posY - @sections[:body][:settings][:height]/4)
                set_pos_y @sections[:body][:settings][:height]

                reset_footer group
            end
        end
def draw_footer footers_to_print, source
            footers_to_print.reverse_each do |group|
                draw_line(@posY + @sections[:body][:settings][:height]/2)
                source[group][:footer].each do |field, settings|
                    settings = [settings[0], @posY, (@defaults.merge (settings[1] || { }).symbolize_keys!)]
                    settings[2][:style] = settings[2][:style].to_sym
                    set_options settings[2]
                    draw_text @footers[group][field], settings
                end
                draw_line(@posY - @sections[:body][:settings][:height]/4)
                set_pos_y @sections[:body][:settings][:height]

                reset_footer group
            end
        end
Print the footers according to the groups and source specified