I implemented the patch. Now, Evince iterates over all the pages to calculate the right width. I changed also the indentation of the ev_page_action_widget_update_max_width function, because was different from the indentation used in the other functions.