Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: PDF::Template page_width/page_height

by dragonchild (Archbishop)
on Jan 10, 2008 at 16:24 UTC ( [id://661645]=note: print w/replies, xml ) Need Help??


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 Template.pm which returned the custome width/height. Probably not the best solution, but it works for me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://661645]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-19 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found