Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: PDF::API2 paragraph vertical align

by snoopy (Curate)
on Dec 17, 2009 at 02:27 UTC ( [id://813121]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub text_center
    {
    ...
      my $width=$self->advancewidth($text);
      return $self->text($text,-indent=>-($width/2),@opts);
    }
    
  2. or download this
    #!/usr/bin/perl
    package PreflightText;
    ...
    my $saveas = "/tmp/center.pdf";
    warn "saving as: $saveas\n";
    $pdf->saveas($saveas);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-18 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found