andymeneely / squib

A Ruby DSL for prototyping card games.

Home Page:http://squib.rocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extra pages and no pages issues on save_sheet and save_pdf

andymeneely opened this issue · comments

Follow-up to #246 - when the surface is a PDF, writing the last page is automatically painted and no new pages are needed. But, the final page of a PNG surface needs to be saved too. So when you use sprues, the last "page" of save_png gets cut off.

Also: sprues now have page counts that start at 0, not 1, to be consistent.

Fixing this issue on the next release (v0.16)