aportale / posterazor

The PosteRazor cuts a raster image into pieces which can afterwards be printed out and assembled to a poster.
http://posterazor.sourceforge.net/
GNU General Public License v3.0
40 stars 14 forks source link

Size in percentage field gets set using wrong decimal place in some LOCALEs #16

Open castilma opened 10 months ago

castilma commented 10 months ago

On step 4, if you choose e.g. size in pages, the percentage field gets set automatically according to the locale. (using , as decimal separator with german locale). sizekomma

When switching to percentage, that number is not recognized. I guess, the used number scanning function is not locale aware and expects a dot. invalidpercentage

The scanning function should be locale aware or alternatively the field should be preset always using a dot as decimal separator.

There might be a related bug. If I manually try to fix this by first removing the comma, posterazor hangs for some seconds, because it read something like 305533. It should not try to interprete such large numbers without asking or giving the option to interrupt the processing.