This adds a new option in the "paper size" dialog box to keep bitmap or PDF backgrounds at their original size regardless of the paper size: so enlarging the page creates a white margin (potentially useful for annotations).
The patch applies against the current CVS code base (as of May 16 2010).
The code was written somewhat hastily and I am not sure if this is production quality -- please test carefully. One issue I'm aware of: depending on config file settings, different copies of xournal may have different ideas of what "original size" means for a bitmap background, i.e. may scale the background differently within the page (please comment on whether this is a significant issue).
The file format extension should be backward compatible -- versions of xournal without the patch will simply expand the background to fill the entire page instead of showing white margins around it.
Log in to post a comment.