paper size handling fixes

poi-mapnik
Hartmut Holzgraefe 2019-12-05 00:19:59 +01:00
rodzic 1f67cd204f
commit 9835a782ae
2 zmienionych plików z 15 dodań i 1 usunięć

Wyświetl plik

@ -6,6 +6,21 @@ dbname=maposmatic
# Optional database port, defaults to 5432
# port=5432
[paper_sizes]
Din A4: 210x297
Din A3: 297x420
Din A2: 420x594
Din A1: 594x841
Din A0: 841x1189
2x A0: 1189x1682
US letter: 216x279
# multi page paper sizes need to be a subset of
# the single page paper formats for now
[multipage_paper_sizes]
Din A4: 210x297
US letter: 216x279
[rendering]
# List of available stylesheets, each needs to be described by an eponymous
# configuration section in this file.

Wyświetl plik

@ -1007,7 +1007,6 @@ class MultiPageRenderer(Renderer):
})
is_default = False
valid_sizes.append((sz[0], sz[1], sz[2], True, True, sz[0] == 'Din A4'))
return valid_sizes
def _draw_overview_labels(self, ctx, map_canvas, overview_grid,