hholzgra / maposmatic

Mirror of maposmatic repository at savannah.nongnu.org
GNU Affero General Public License v3.0
72 stars 13 forks source link

Prevent zero paper width or height #89

Open hholzgra opened 2 years ago

hholzgra commented 2 years ago

Not sure how that was even possible, but somehow a paper size of zero by zero millimeters was submitted for eg:

http://print.get-map.org/maps/225033

leading to an "error writing to output stream" on rendering

hholzgra commented 2 years ago

See also https://github.com/hholzgra/ocitysmap/issues/55