in reply to PDF::Template page_width/page_height

*sighs* Nothing's wrong with your template. I haven't used PDF::Template in about 4 years. In that time, it's accumulated rather significant bitrot. Specifically, there are methods that have been removed in PDFlib7 that portions of PDF::Template depend on. Plus, there's bugs that I haven't had the tuits to write failing tests for. And, to top it all off, I've been looking for another maintainer for P::T for about a year now. I just don't have the time to maintain it (which I don't use) and the other stuff (which I sometimes use). I'm still looking for someone to take the reins, if you're interested.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: PDF::Template page_width/page_height

Replies are listed 'Best First'.
Re^2: PDF::Template page_width/page_height
by mhearse (Chaplain) on Jan 10, 2008 at 19:11 UTC
    Hmm... Before I commit to that I'll need to take a hard look at the code. I do intend to fix this bug though.
      IMHO it looks like the custom page_width, page_height elements weren't getting passed to the render method in the PageDef module. My solution was to create a method in which returned the custome width/height. Probably not the best solution, but it works for me.