Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: PDF::API2 paragraph vertical align

by snoopy (Deacon)
on Dec 17, 2009 at 02:27 UTC ( #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
Node Status?
node history
Node Type: note [id://813121]
help
Chatterbox?
1nickt was looking into Firefox Extended Support releases yesterday. You don't have to go with the updates!
[erix]: wonderfully red sun here
[LanX]: FF has become a source of instability :(
[1nickt]: erix not so wonderful for the lungs :-(
[erix]: the stuff is pretty high up as I understand it; I have not felt any effect on lungs/breathing
[LanX]: Apocalypse Wow

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-10-17 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (230 votes). Check out past polls.

    Notices?