|Subject:||[Swftools-common] Bugfix: pdf2swf: page numbering wraps to negative after 128 pages one-file-per-page output|
|Date:||Thu, 31 Jul 2008 17:13:31 +0300|
|User-agent:||Thunderbird 188.8.131.52 (X11/20080724)|
Hi everyone,This is my first time posting here - I hope this is the right place to post this.
I love the new feature in pdf2swf to allow one .swf file to be created for each page in the pdf. But I found a small bug with it: for documents with more than 128 pages, the page numbering wraps around to negative numbers.
This is because the page number is stored in a signed char. In order to fix this I changed the page number variable to be an unsigned int (I presume page numbers can never be negative).
I also adjusted the --help output to make it more obvious that this useful feature exists :)
Attached is a unified diff against swftools-2008-07-27-1136 if you're interested. Let me know what you think.
|[Prev in Thread]||Current Thread||[Next in Thread]|