Fix compatible paper size calculation
authorMaxime Petazzoni <maxime.petazzoni@bulix.org>
Sun, 8 Aug 2010 07:35:33 +0000 (09:35 +0200)
committerMaxime Petazzoni <maxime.petazzoni@bulix.org>
Sun, 8 Aug 2010 07:35:33 +0000 (09:35 +0200)
commit118f0a421095a03e2c524257318e7a0a7b0a24e9
treeea14a9a8ffc9b8a5662c458d3dc9f6d73aa90761
parent3f5dce84cdb127db477866125f5b406feece5639
Fix compatible paper size calculation

The compatible paper size calculation in the PlainRenderer was not
properly using the returned result of BoundingBox.spheric_size(): the
width and height were switched, resulting in wrong chosen paper
orientations and sizes.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
ocitysmap2/coords.py
ocitysmap2/map_canvas.py
ocitysmap2/renderers.py