hholzgra / ocitysmap

Fork of ocitysmap repository at savannah.nongnu.org
Other
35 stars 12 forks source link

Check for zero paper width or height #55

Closed hholzgra closed 2 years ago

hholzgra commented 2 years ago

A paper size with a width or height of zero leads to a

ocitysmap.cairo.IOError: error while writing to output stream

while rendering, this should be caught up front with a more meaningful error message.

See also https://github.com/hholzgra/maposmatic/issues/89