kopia lustrzana https://github.com/hholzgra/ocitysmap
paper size handling fixes
rodzic
1f67cd204f
commit
9835a782ae
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue