Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using fonts in GD on OS X.

by zentara (Archbishop)
on Oct 23, 2006 at 16:38 UTC ( [id://580094]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $monaco = GD::Font->load('/System/Library/Fonts/Monaco.dfont')
      or die "Can't load monaco!";
    
  2. or download this
    #!/usr/bin/perl
    use GD;
    ...
    open (IMG, ">$0.png");
    print IMG $img->png;
    close IMG;
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print IMAGE $im->png;
    close IMAGE;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found