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.

Cheers,
Gareth




Reply via email to