diff --git a/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py b/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py index 305272d3e4..cf359e2d64 100644 --- a/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py +++ b/pyramid_oereb/contrib/print_proxy/mapfish_print/toc_pages.py @@ -10,11 +10,11 @@ def __init__(self, extract): # 842: regular A4 page size in px # inlcude 10px buffer, taking a earlier page break of MPF # into consideration for unknown reasons - self.total_height = 842 - 10 + self.total_height = 832 self.header_height = self.compute_header() self.footer_height = self.compute_footer() self.disposable_height = ( - 842 - self.header_height - self.footer_height + self.total_height - self.header_height - self.footer_height ) # A4 size - (footer + header) self.d1_height = 77 # toc.jrxml self.d2_height = 32 # toc.jrxml